Initial commit
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
commit
5164abb6cf
|
@ -0,0 +1,2 @@
|
|||
kind: template
|
||||
load: docker.yaml
|
|
@ -0,0 +1 @@
|
|||
*.save
|
|
@ -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>"
|
|
@ -0,0 +1,12 @@
|
|||
# Introduction
|
||||
|
||||
This repository is a skeleton for a microscript container image -- that
|
||||
is container that get's started either by Kubernetes Job or CronJob and
|
||||
that does not run forever.
|
||||
|
||||
In this particular example MongoDB is included in the setup.
|
||||
|
||||
# How to use this repository
|
||||
|
||||
Just mount scripts using ConfigMap and run
|
||||
`harbor.k-space.ee/k-space/microscript-base` directly from Kubernetes
|
|
@ -0,0 +1,4 @@
|
|||
Host *
|
||||
IdentityFile /config/ssh_identity
|
||||
UserKnownHostsFile /config/ssh_known_hosts
|
||||
HostKeyAlgorithms +ssh-rsa # TODO: Remove this after ROS7 upgrades
|
Loading…
Reference in New Issue