diff options
-rw-r--r-- | Dockerfile_focal | 20 | ||||
-rwxr-xr-x | build.sh | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Dockerfile_focal b/Dockerfile_focal new file mode 100644 index 0000000..6ac8e68 --- /dev/null +++ b/Dockerfile_focal @@ -0,0 +1,20 @@ +# Builds ubuntu latest image from docker hub +# Install and setups ansible +# Run from ansible dir: "docker build -t ansible_deploy ." +# You will need to update the playbook you deploy in this file. + +FROM ubuntu:focal + +LABEL maintainer="Linaro Systems Team <systems@linaro.org>" + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && apt-get install -y software-properties-common +RUN apt-add-repository -y ppa:ansible/ansible + +RUN apt-get update && apt-get install -y ansible vim bash openssh-server python3-apt sudo cron python3-pip + +RUN mkdir -p /root/.ssh/ && mkdir -p /var/run/sshd +ADD pubkeys /root/.ssh/authorized_keys + +CMD /usr/sbin/sshd -D @@ -1,6 +1,7 @@ docker build -t ansible/baseimage:14.04 -f Dockerfile_trusty . & docker build -t ansible/baseimage:16.04 -f Dockerfile_xenial . & docker build -t ansible/baseimage:18.04 -f Dockerfile_bionic . & +docker build -t ansible/baseimage:20.04 -f Dockerfile_focal . & docker build -t linaro/login-proxy -f Dockerfile_login_proxy . & (cd devdns; docker build -t linaro/devdns -f Dockerfile . ) & (cd hostsdns; docker build -t linaro/hostsdns -f Dockerfile . ) & |