This repository has been archived on 2023-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
sat-sw-website-legacy/automation/Dockerfile

16 lines
848 B
Docker
Raw Normal View History

2023-09-12 10:36:02 +02:00
FROM ubuntu:latest
RUN apt-get update
RUN apt-get --yes upgrade
# Required in case tzdata is a installed, won't install otherwise
ARG DEBIAN_FRONTEND=noninteractive
2023-09-19 20:55:53 +02:00
RUN apt-get --yes install rsync
2023-09-12 10:28:39 +02:00
#ssh needs a valid user to work
RUN adduser --uid 114 jenkins
2023-09-19 21:06:43 +02:00
RUN mkdir -p /etc/ssh
# add documentation server to known hosts
RUN echo "|1|/LzCV4BuTmTb2wKnD146l9fTKgQ=|NJJtVjvWbtRt8OYqFgcYRnMQyVw= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts
RUN echo "|1|CcBvBc3EG03G+XM5rqRHs6gK/Gg=|oGeJQ+1I8NGI2THIkJsW92DpTzs= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts