cloudron-drone-app/helpers/cloudron-cli/Dockerfile
Felix Bartels 9db5803b71 update cloudron cli to 4.7.0
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-12-11 09:36:41 +01:00

11 lines
573 B
Docker

FROM docker:dind
# hadolint ignore=DL3018
RUN apk add --no-cache jq make npm perl python3
ENV DOCKERIZE_VERSION v0.6.1
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && \
tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && \
rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
# use --unsafe to not execute post actions as user nobody
RUN npm -g install cloudron@4.7.0 --unsafe && npm cache clean --force && \
cloudron --version