Skip to content

Commit

Permalink
libssl
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Aug 20, 2024
1 parent 09b93c4 commit 4ef0da4
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,20 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN apt update && apt install -y curl wget sudo postgresql-client && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb && \
dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb && \
rm libssl1.1_1.1.1n-0+deb10u6_amd64.deb
RUN ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "amd64" ]; then \
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb; \
dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb; \
rm libssl1.1_1.1.1n-0+deb10u6_amd64.deb; \
elif [ "$ARCH" = "arm64" ]; then \
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_arm64.deb; \
dpkg -i libssl1.1_1.1.1n-0+deb10u6_arm64.deb; \
rm libssl1.1_1.1.1n-0+deb10u6_arm64.deb; \
else \
echo "Unsupported architecture: $ARCH"; \
exit 1; \
fi


# need to install these package for seeding the database
RUN npm install @prisma/client @paralleldrive/cuid2
Expand Down

0 comments on commit 4ef0da4

Please sign in to comment.