cloudron-drone-app/helpers/cloudron-cli/Dockerfile

12 lines
573 B
Docker
Raw Normal View History

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