From a45cef0571ce689aac12ba26441344705c674192 Mon Sep 17 00:00:00 2001 From: Kelley Spoon Date: Fri, 1 Oct 2021 18:55:23 -0500 Subject: focal: Add focal (20.04) to baseimages Change-Id: I169ed6e2d163d69621f4fdb7ffcea90b455b62de --- Dockerfile_focal | 20 ++++++++++++++++++++ build.sh | 1 + 2 files changed, 21 insertions(+) create mode 100644 Dockerfile_focal 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 " + +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 diff --git a/build.sh b/build.sh index 8f4f6c2..68c1358 100755 --- a/build.sh +++ b/build.sh @@ -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 . ) & -- cgit v1.2.3