Automated operations to build the docker base image on openshift for the «dinfo»'s applications.
- Pull and host the latest
httpd:burster
docker image - Manage the ssh key to git clone the private repo
- Get the code and the Dockerfile from https://c4science.ch/diffusion/1989/
- Rewrite the
FROM: debian:burster
tohttpd:burster
- Build the image (BuildConfig and ImageStream)
- Enjoy image from
docker-registry.default.svc:5000/dinfo-cicd/cadi-libs-idevfsd:latest
oros-docker-registry.epfl.ch/dinfo-cicd/cadi-libs-idevfsd:latest
In order to use this repository, you need to
- be a member of the
epfl_si.build_common
Keybase team - have access to the
dinfo-cicd
OpenShift namespace (request access with Camptocamp)
Add this to your ~/.ssh/config
to wield the authority of idevfsd-checkouter
when cloning out of c4science:
Host c4science.ch
ForwardX11 no
# Next line required if you use an ssh-agent(1) (whose keys would otherwise have priority):
IdentityAgent /dev/null
IdentityFile /keybase/team/epfl_si.build_common/id_rsa_c4science_idevfsd-checkouter