Initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-04-22 01:15:48 +03:00
commit 5164abb6cf
5 changed files with 35 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:alpine
RUN apk add git bash openssh curl
RUN pip install pymongo
ADD ssh_config /etc/ssh/
# Inject public SSH key of git.k-space.ee
RUN bash -c "ssh-keyscan -t ecdsa git.k-space.ee >> /etc/ssh/ssh_known_hosts"
# For git commits use user `minion`, note that this is distinct from user
# used for SSH authentication, including one going towards git.k-space.ee
RUN git config --global user.email "minion@k-space.ee"
RUN git config --global user.name "Minion"
LABEL name="k-space/microscript-base" \
version="rc" \
maintainer="Lauri Võsandi <lauri@k-space.ee>"