You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
399 B
16 lines
399 B
|
6 years ago
|
FROM ubuntu:bionic-20200112
|
||
|
|
|
||
|
|
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"]
|
||
|
|
|