Skip to content

Commit f86218f

Browse files
committed
Add OpenSSL installation support for Docker image
Signed-off-by: [email protected] <[email protected]>
1 parent 0a1121f commit f86218f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfiles/Dockerfile.agent-provisioning

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
FROM node:18-alpine as build
33
# Install OpenSSL
44
RUN apk update && apk upgrade
5+
RUN apk add --no-cache openssl
56
RUN set -eux \
67
&& apk --no-cache add \
78
openssh-client \
89
aws-cli \
910
docker \
1011
docker-compose \
11-
&& apk add --no-cache openssl \
1212
&& npm install -g pnpm --ignore-scripts \
1313
&& export PATH=$PATH:/usr/lib/node_modules/pnpm/bin \
1414
&& rm -rf /var/cache/apk/*
@@ -39,13 +39,13 @@ RUN pnpm run build agent-provisioning
3939
FROM node:18-alpine as prod
4040
# Install OpenSSL
4141
RUN apk update && apk upgrade
42+
RUN apk add --no-cache openssl
4243
RUN set -eux \
4344
&& apk --no-cache add \
4445
openssh-client \
4546
aws-cli \
4647
docker \
4748
docker-compose \
48-
&& apk add --no-cache openssl \
4949
&& npm install -g pnpm --ignore-scripts \
5050
&& export PATH=$PATH:/usr/lib/node_modules/pnpm/bin \
5151
&& rm -rf /var/cache/apk/*

0 commit comments

Comments
 (0)