Permalink
Browse files

Dockerfiles: add CA certs, remove PATH truncation

Forcing PATH like that makes the container feel very odd if you exec
into it. CA certs are nice if you want to download Helm charts over SSL.
  • Loading branch information...
kanatohodets committed Dec 9, 2018
1 parent 46e93cc commit 487912c34868ec61ab1f847c9b26d81282652fdf
Showing with 2 additions and 1 deletion.
  1. +1 −0 Dockerfile.metrics
  2. +1 −1 Dockerfile.shipper
@@ -1,5 +1,6 @@
ARG BASE_IMAGE=alpine:3.8
FROM ${BASE_IMAGE}
LABEL authors="Parham Doustdar <parham.doustdar@booking.com>, Alexey Surikov <alexey.surikov@booking.com>, Igor Sutton <igor.sutton@booking.com>, Ben Tyler <benjamin.tyler@booking.com>"
RUN apk add ca-certificates
ADD shipper-state-metrics /bin/shipper-state-metrics
ENTRYPOINT ["shipper-state-metrics", "-v", "2"]
@@ -1,6 +1,6 @@
ARG BASE_IMAGE=alpine:3.8
FROM ${BASE_IMAGE}
LABEL authors="Parham Doustdar <parham.doustdar@booking.com>, Alexey Surikov <alexey.surikov@booking.com>, Igor Sutton <igor.sutton@booking.com>, Ben Tyler <benjamin.tyler@booking.com>"
RUN apk add ca-certificates
ADD shipper /bin/shipper
ENV PATH=/bin
ENTRYPOINT ["shipper", "-disable", "clustersecret", "-v", "4", "-logtostderr"]

0 comments on commit 487912c

Please sign in to comment.