Prepare more things for this image

This commit is contained in:
decentral1se 2021-06-05 08:39:13 +02:00
parent b61c9410a0
commit 93ffc633f3
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -13,8 +13,14 @@ RUN apk add --upgrade --no-cache \
yq
RUN mkdir -p ~./local/bin
RUN mkdir -p ~/.abra/apps
RUN mkdir -p ~/.abra/vendor
RUN mkdir -p ~/.ssh/
RUN ssh-keyscan -p 2222 git.autonomic.zone > ~/.ssh/known_hosts
RUN ln -srf /usr/bin/jq ~/.abra/vendor
RUN ln -srf /usr/bin/yq ~/.abra/vendor
# Note(decentral1se): it is fine to always use the development branch because
# our Drone CI docker auto-tagger will publish official release tags and
@ -22,7 +28,6 @@ RUN mkdir -p ~/.abra/apps
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"]