17 lines
596 B
Docker
17 lines
596 B
Docker
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>"
|