-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from Chia-Network/EL.update-alpine
Update alpine to latest and simplify script
- Loading branch information
Showing
3 changed files
with
5 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
FROM alpine:3.16.2 | ||
FROM alpine:latest | ||
WORKDIR /root | ||
RUN sh -c "echo https://mirrors.edge.kernel.org/alpine/v3.16.2/community >> /etc/apk/repositories" | ||
RUN apk add git curl python3 openssl openssl-dev perl linux-headers make gcc musl-dev patch patchelf | ||
RUN apk add git curl python3 openssl openssl-dev perl linux-headers make gcc musl-dev patch patchelf py3-pip | ||
RUN curl --proto '=https' --tlsv1.2 -sSf -o rustup https://sh.rustup.rs | ||
RUN sh ./rustup -y | ||
COPY build-openssl.sh . | ||
RUN sh ./build-openssl.sh | ||
RUN curl https://files.pythonhosted.org/packages/b1/77/75f6543eafdffc0b3f07f99682497bea817ef0b6c361fe72b932eb82459c/setuptools-62.2.0.tar.gz | tar xzvf - | ||
COPY wheel.diff setuptools-62.2.0 | ||
RUN cd setuptools-62.2.0 && patch -p1 < wheel.diff | ||
RUN curl https://files.pythonhosted.org/packages/99/bb/696e256f4f445809f25efd4e4ce42ff99664dc089cafa1e097d5fec7fc33/pip-22.1.tar.gz | tar xzvf - | ||
RUN sh -c "cd setuptools-62.2.0 && python3 setup.py install" | ||
RUN curl https://files.pythonhosted.org/packages/99/bb/696e256f4f445809f25efd4e4ce42ff99664dc089cafa1e097d5fec7fc33/pip-22.1.tar.gz | tar xzvf - | ||
RUN sh -c "cd pip-22.1 && python3 setup.py install" | ||
RUN pip install maturin[patchelf] | ||
RUN pip install maturin | ||
WORKDIR /root/clvm_tools_rs | ||
COPY ./build-alpine.sh /root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.