瀏覽代碼

Further docker simplifications

Carl Tashian 3 年之前
父節點
當前提交
df2909e712
共有 1 個文件被更改,包括 2 次插入 和 3 次删除
  1. 2 3
      docker/Dockerfile.hsm

+ 2 - 3
docker/Dockerfile.hsm

@@ -5,10 +5,9 @@ COPY . .
 
 
 RUN apt-get update
 RUN apt-get update
 RUN apt-get install -y --no-install-recommends \
 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 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
 FROM smallstep/step-kms-plugin:bullseye AS kms