2018-11-19 19:16:44 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
ENV LANG="en_US.UTF-8" \
|
|
|
|
LC_ALL="C.UTF-8" \
|
|
|
|
LANGUAGE="en_US.UTF-8" \
|
|
|
|
TERM="xterm" \
|
|
|
|
PORTAINER_USER="root" \
|
|
|
|
PORTAINER_PASSWORD="password" \
|
|
|
|
PORTAINER_URL="http://example.com:9000" \
|
|
|
|
PORTAINER_PRUNE="false" \
|
|
|
|
PORTAINER_ENDPOINT="1"
|
|
|
|
|
|
|
|
RUN apk --update add \
|
|
|
|
bash \
|
|
|
|
ca-certificates \
|
|
|
|
httpie \
|
|
|
|
jq \
|
2018-11-21 20:50:21 +00:00
|
|
|
gettext \
|
2018-11-19 19:16:44 +00:00
|
|
|
&& \
|
|
|
|
rm -rf /tmp/src && \
|
|
|
|
rm -rf /var/cache/apk/*
|
|
|
|
|
2018-11-21 21:34:49 +00:00
|
|
|
COPY deploy undeploy /usr/local/bin/
|
2018-11-19 19:16:44 +00:00
|
|
|
|
2018-11-21 21:32:05 +00:00
|
|
|
RUN chmod +x /usr/local/bin/*
|