cloudron-drone-app/helpers/cloudron-cli/Dockerfile
Felix Bartels de3e45a505 Update Cloudron CLI to 5.0.0
Signed-off-by: Felix Bartels <felix@9wd.eu>
2022-06-22 16:53:52 +02: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@5.0.0 --unsafe && npm cache clean --force && \
cloudron --version