Skip to content

Commit 5288c43

Browse files
Merge pull request #1099 from credebl/develop-dco-fixed
Fix/add openssl support (#1098)
2 parents 275ea98 + 6006d68 commit 5288c43

13 files changed

+48
-6
lines changed

Dockerfiles/Dockerfile.agent-provisioning

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3-
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
45
RUN set -eux \
56
&& apk --no-cache add \
67
openssh-client \
@@ -35,7 +36,8 @@ RUN pnpm run build agent-provisioning
3536

3637
# Stage 2: Create the final image
3738
FROM node:18-alpine as prod
38-
39+
# Install OpenSSL
40+
RUN apk add --no-cache openssl
3941
RUN set -eux \
4042
&& apk --no-cache add \
4143
openssh-client \

Dockerfiles/Dockerfile.agent-service

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3-
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
45
RUN npm install -g pnpm --ignore-scripts \
56
&& apk update \
67
&& apk add openssh-client \
@@ -30,7 +31,8 @@ RUN pnpm run build agent-service
3031

3132
# Stage 2: Create the final image
3233
FROM node:18-alpine
33-
34+
# Install OpenSSL
35+
RUN apk add --no-cache openssl
3436
RUN npm install -g pnpm --ignore-scripts \
3537
&& apk update \
3638
&& apk add openssh-client \

Dockerfiles/Dockerfile.cloud-wallet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-slim as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46

57
RUN apt-get update -y

Dockerfiles/Dockerfile.connection

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46
# Set the working directory
57
WORKDIR /app
@@ -23,6 +25,8 @@ RUN pnpm run build connection
2325

2426
# Stage 2: Create the final image
2527
FROM node:18-alpine
28+
# Install OpenSSL
29+
RUN apk add --no-cache openssl
2630
# RUN npm install -g pnpm
2731
# Set the working directory
2832
WORKDIR /app

Dockerfiles/Dockerfile.geolocation

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46
# Set the working directory
57
WORKDIR /app
@@ -23,6 +25,8 @@ RUN pnpm run build geo-location
2325

2426
# Stage 2: Create the final image
2527
FROM node:18-alpine
28+
# Install OpenSSL
29+
RUN apk add --no-cache openssl
2630
# RUN npm install -g pnpm
2731
# Set the working directory
2832
WORKDIR /app

Dockerfiles/Dockerfile.issuance

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46
# Set the working directory
57
WORKDIR /app
@@ -23,6 +25,8 @@ RUN pnpm run build issuance
2325

2426
# Stage 2: Create the final image
2527
FROM node:18-alpine
28+
# Install OpenSSL
29+
RUN apk add --no-cache openssl
2630
# RUN npm install -g pnpm
2731
# Set the working directory
2832
WORKDIR /app

Dockerfiles/Dockerfile.ledger

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46
# Set the working directory
57
WORKDIR /app
@@ -24,6 +26,8 @@ RUN npm run build ledger
2426

2527
# Stage 2: Create the final image
2628
FROM node:18-alpine
29+
# Install OpenSSL
30+
RUN apk add --no-cache openssl
2731
# RUN npm install -g pnpm
2832
# Set the working directory
2933
WORKDIR /app

Dockerfiles/Dockerfile.notification

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm --ignore-scripts
46
# Set the working directory
57
WORKDIR /app
@@ -22,6 +24,8 @@ RUN npm run build notification
2224

2325
# Stage 2: Create the final image
2426
FROM node:18-alpine
27+
# Install OpenSSL
28+
RUN apk add --no-cache openssl
2529
# RUN npm install -g pnpm --ignore-scripts
2630
# Set the working directory
2731
WORKDIR /app

Dockerfiles/Dockerfile.organization

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Stage 1: Build the application
22
FROM node:18-alpine as build
3+
# Install OpenSSL
4+
RUN apk add --no-cache openssl
35
RUN npm install -g pnpm
46
# Set the working directory
57
WORKDIR /app
@@ -24,6 +26,8 @@ RUN pnpm run build organization
2426

2527
# Stage 2: Create the final image
2628
FROM node:18-alpine
29+
# Install OpenSSL
30+
RUN apk add --no-cache openssl
2731
# RUN npm install -g pnpm
2832
# Set the working directory
2933
WORKDIR /app

Dockerfiles/Dockerfile.user

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Stage 1: Build the application
22
FROM node:18-slim as build
3+
4+
5+
36
RUN npm install -g pnpm
47

58
# We don't need the standalone Chromium
@@ -8,7 +11,7 @@ ENV PUPPETEER_SKIP_DOWNLOAD true
811

912
# Install Google Chrome Stable and fonts
1013
# Note: this installs the necessary libs to make the browser work with Puppeteer.
11-
RUN apt-get update && apt-get install gnupg wget -y && \
14+
RUN apt-get update && apt-get install openssl gnupg wget -y && \
1215
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
1316
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
1417
apt-get update && \
@@ -42,7 +45,7 @@ ENV PUPPETEER_SKIP_DOWNLOAD true
4245

4346
# Install Google Chrome Stable and fonts
4447
# Note: this installs the necessary libs to make the browser work with Puppeteer.
45-
RUN apt-get update && apt-get install gnupg wget -y && \
48+
RUN apt-get update && apt-get install openssl gnupg wget -y && \
4649
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
4750
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
4851
apt-get update && \

0 commit comments

Comments
 (0)