This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/Dockerfile

29 lines
626 B
Docker
Raw Normal View History

2021-06-03 07:43:44 +00:00
FROM alpine:latest
2021-06-03 19:52:51 +00:00
RUN apk add --upgrade --no-cache \
2021-06-03 07:54:32 +00:00
bash \
curl \
git \
2021-06-03 19:52:51 +00:00
grep \
2021-06-03 07:54:32 +00:00
jq \
2021-06-05 06:03:42 +00:00
openssh-client \
2021-06-03 07:54:32 +00:00
py3-requests \
skopeo \
util-linux \
2021-06-03 07:54:32 +00:00
yq
2021-06-03 07:43:44 +00:00
RUN mkdir -p ~./local/bin
2021-06-03 19:52:51 +00:00
RUN mkdir -p ~/.abra/apps
2021-06-03 19:04:58 +00:00
# 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
2021-06-03 07:43:44 +00:00
2021-06-05 06:05:40 +00:00
COPY bin/abralib.py /root/.local/bin/abralib.py
COPY bin/app-json.py /root/.local/bin/app-json.py
2021-06-03 07:43:44 +00:00
ENTRYPOINT ["/root/.local/bin/abra"]