Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Sep 13, 2024
1 parent ea8681b commit 2f07d97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/release/hermes.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ ENTRYPOINT ["/usr/bin/hermes"]

RUN ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then \
ARCH=amd64; \
DEB_URL=http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb; \
elif [ "$ARCH" = "aarch64" ]; then \
ARCH=arm64; \
DEB_URL=http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb; \
else \
echo "Unsupported architecture: $ARCH"; exit 1; \
fi && \
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_$ARCH.deb -O /tmp/libssl1.1.deb && \
wget $DEB_URL -O /tmp/libssl1.1.deb && \
dpkg -i /tmp/libssl1.1.deb && \
rm -rf /tmp/libssl1.1.deb

Expand Down

0 comments on commit 2f07d97

Please sign in to comment.