Commit d4de18ea authored by Mark Tyneway's avatar Mark Tyneway

ops: use alpine:3.14 with foundry image

parent ffc31354
---
'@eth-optimism/foundry': patch
---
Use alpine:3.14
from alpine as build-environment from alpine:3.14 as build-environment
WORKDIR /opt WORKDIR /opt
RUN apk add clang lld curl build-base linux-headers git \ RUN apk add clang lld curl build-base linux-headers git \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh \ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh \
...@@ -16,7 +16,7 @@ RUN source $HOME/.profile && cargo build --release \ ...@@ -16,7 +16,7 @@ RUN source $HOME/.profile && cargo build --release \
&& strip /opt/foundry/target/release/cast \ && strip /opt/foundry/target/release/cast \
&& strip /opt/foundry/target/release/anvil && strip /opt/foundry/target/release/anvil
from alpine as foundry-client from alpine:3.14 as foundry-client
ENV GLIBC_KEY=https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub ENV GLIBC_KEY=https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
ENV GLIBC_KEY_FILE=/etc/apk/keys/sgerrand.rsa.pub ENV GLIBC_KEY_FILE=/etc/apk/keys/sgerrand.rsa.pub
ENV GLIBC_RELEASE=https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk ENV GLIBC_RELEASE=https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment