Update cache before installing packages

This commit is contained in:
Carl Tashian
2023-03-06 09:40:50 -08:00
parent 79b3924322
commit 4378300c80

View File

@@ -17,6 +17,7 @@ COPY --from=builder /src/bin/step-ca /usr/local/bin/step-ca
COPY --from=kms /usr/local/bin/step-kms-plugin /usr/local/bin/step-kms-plugin
USER root
RUN apt-get update
RUN apt-get install -y --no-install-recommends libcap2-bin && \
setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/step-ca
RUN apt-get install -y --no-install-recommends pcscd libpcsclite1