Skip to content

Commit 4f046db

Browse files
committed
Docker - Apply fixes for Checkmarkx findings (#90)
(cherry picked from commit 6ccb080)
1 parent 7775bf8 commit 4f046db

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/KeyConnector/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ LABEL com.bitwarden.product="bitwarden"
44

55
RUN apt-get update \
66
&& apt-get install -y --no-install-recommends \
7-
gosu \
8-
curl \
9-
libc-dev \
10-
opensc \
7+
gosu=1.12* \
8+
curl=7.74.0* \
9+
libc6-dev=2.31* \
10+
opensc=0.21.0* \
1111
&& rm -rf /var/lib/apt/lists/*
1212

1313
# Install YubiHSM2 SDK
@@ -17,7 +17,8 @@ RUN curl -O https://developers.yubico.com/YubiHSM2/Releases/yubihsm2-sdk-2021-08
1717
&& dpkg -i yubihsm2-sdk/libyubihsm-http1_*_amd64.deb \
1818
&& dpkg -i yubihsm2-sdk/libyubihsm1_*_amd64.deb \
1919
&& dpkg -i yubihsm2-sdk/yubihsm-pkcs11_*_amd64.deb \
20-
&& apt-get install -f
20+
&& apt-get install -y -f --no-install-recommends \
21+
&& rm -rf /var/lib/apt/lists/*
2122

2223
ENV ASPNETCORE_URLS http://+:5000
2324
WORKDIR /app

0 commit comments

Comments
 (0)