Further docker simplifications

This commit is contained in:
Carl Tashian 2023-03-21 15:01:02 -07:00
parent 25e35aa0ad
commit df2909e712
No known key found for this signature in database

View file

@ -5,10 +5,9 @@ COPY . .
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
gcc pkgconf libpcsclite-dev
gcc pkgconf libpcsclite-dev libcap2-bin
RUN make V=1 GOFLAGS="" bin/step-ca
RUN apt-get install -y --no-install-recommends libcap2-bin && \
setcap CAP_NET_BIND_SERVICE=+eip bin/step-ca
RUN setcap CAP_NET_BIND_SERVICE=+eip bin/step-ca
FROM smallstep/step-kms-plugin:bullseye AS kms