Browse Source

Docker - Apply fixes for Checkmarkx findings (#90)

pull/91/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
6ccb080fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/KeyConnector/Dockerfile

11
src/KeyConnector/Dockerfile

@ -4,10 +4,10 @@ LABEL com.bitwarden.product="bitwarden" @@ -4,10 +4,10 @@ LABEL com.bitwarden.product="bitwarden"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
curl \
libc-dev \
opensc \
gosu=1.12* \
curl=7.74.0* \
libc6-dev=2.31* \
opensc=0.21.0* \
&& rm -rf /var/lib/apt/lists/*
# Install YubiHSM2 SDK
@ -17,7 +17,8 @@ RUN curl -O https://developers.yubico.com/YubiHSM2/Releases/yubihsm2-sdk-2021-08 @@ -17,7 +17,8 @@ RUN curl -O https://developers.yubico.com/YubiHSM2/Releases/yubihsm2-sdk-2021-08
&& dpkg -i yubihsm2-sdk/libyubihsm-http1_*_amd64.deb \
&& dpkg -i yubihsm2-sdk/libyubihsm1_*_amd64.deb \
&& dpkg -i yubihsm2-sdk/yubihsm-pkcs11_*_amd64.deb \
&& apt-get install -f
&& apt-get install -y -f --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV ASPNETCORE_URLS http://+:5000
WORKDIR /app

Loading…
Cancel
Save