diff --git a/snapshot/deploy/docker/controller/Dockerfile b/snapshot/deploy/docker/controller/Dockerfile index a53f5ef4e86..11005ab46e8 100644 --- a/snapshot/deploy/docker/controller/Dockerfile +++ b/snapshot/deploy/docker/controller/Dockerfile @@ -12,9 +12,18 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM busybox:glibc -COPY snapshot-controller /bin/snapshot-controller +FROM alpine:3.6 + +RUN apk add --no-cache \ + bash \ + net-tools \ + mii-tool \ + procps \ + libc6-compat \ + ca-certificates + +COPY snapshot-controller / # Root CA certificates COPY etc /etc COPY usr /usr -ENTRYPOINT ["/bin/snapshot-controller"] +ENTRYPOINT ["/snapshot-controller"] diff --git a/snapshot/deploy/docker/provisioner/Dockerfile b/snapshot/deploy/docker/provisioner/Dockerfile index ec15fb5d260..25eb841f6c9 100644 --- a/snapshot/deploy/docker/provisioner/Dockerfile +++ b/snapshot/deploy/docker/provisioner/Dockerfile @@ -12,9 +12,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM busybox:glibc -COPY snapshot-provisioner /bin/snapshot-provisioner +FROM alpine:3.6 + +RUN apk add --no-cache \ + bash \ + net-tools \ + mii-tool \ + procps \ + libc6-compat \ + ca-certificates + + +COPY snapshot-provisioner / # Root CA certificates COPY etc /etc COPY usr /usr -ENTRYPOINT ["/bin/snapshot-provisioner"] +ENTRYPOINT ["/snapshot-provisioner"]