Dockerfile.ubuntu-bionic 405 B

123456789101112131415
  1. FROM ubuntu:bionic-20200112
  2. ARG go_pkg_url
  3. RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd cmake
  4. RUN curl -s -k $go_pkg_url -o go.tar.gz && \
  5. tar -C /usr/local -xzf go.tar.gz && \
  6. rm go.tar.gz
  7. RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build
  8. RUN chmod 777 /home
  9. CMD ["/usr/bin/sshd", "-D"]