Add docker configs for multi arch jenkins builds

This commit is contained in:
Grant Limberg 2020-02-03 09:57:48 -08:00
commit f6f4fba90e
20 changed files with 433 additions and 0 deletions

View file

@ -0,0 +1,15 @@
FROM ubuntu:trusty-20191217
ARG go_pkg_url
RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd
RUN curl -s -k $go_pkg_url -o go.tar.gz && \
tar -C /usr/local -xzf go.tar.gz && \
rm go.tar.gz
RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build
RUN chmod 777 /home
CMD ["/usr/bin/sshd", "-D"]