cloudron-drone-app/helpers/cloudron-cli/Dockerfile
Felix Bartels 1361023637 Simplify build process (#2)
switch cli helper to dind base
use local socket in all steps
ignore tags file
use txt file format for secrets
2020-10-17 20:43:08 +00:00

12 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.5.3 --unsafe && npm cache clean --force && \
cloudron --version