abra-bash/Dockerfile

29 lines
626 B
Docker

FROM alpine:latest
RUN apk add --upgrade --no-cache \
bash \
curl \
git \
grep \
jq \
openssh-client \
py3-requests \
skopeo \
util-linux \
yq
RUN mkdir -p ~./local/bin
RUN mkdir -p ~/.abra/apps
# Note(decentral1se): it is fine to always use the development branch because
# our Drone CI docker auto-tagger will publish official release tags and
# otherwise give us the latest abra on the latest tag
RUN curl https://install.abra.coopcloud.tech | bash -s -- --dev
COPY bin/abralib.py /root/.local/bin/abralib.py
COPY bin/app-json.py /root/.local/bin/app-json.py
ENTRYPOINT ["/root/.local/bin/abra"]