diff --git a/foxy-arm64/Dockerfile b/foxy-arm64/Dockerfile index b105806..5afacee 100644 --- a/foxy-arm64/Dockerfile +++ b/foxy-arm64/Dockerfile @@ -19,6 +19,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/foxy/Dockerfile b/foxy/Dockerfile index 2ab5403..e07fe51 100644 --- a/foxy/Dockerfile +++ b/foxy/Dockerfile @@ -20,6 +20,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/galactic-arm64/Dockerfile b/galactic-arm64/Dockerfile index 9167e49..20317ba 100644 --- a/galactic-arm64/Dockerfile +++ b/galactic-arm64/Dockerfile @@ -19,6 +19,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/galactic/Dockerfile b/galactic/Dockerfile index d2ade4c..b029f9e 100644 --- a/galactic/Dockerfile +++ b/galactic/Dockerfile @@ -20,6 +20,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/humble-arm64/Dockerfile b/humble-arm64/Dockerfile index e1b04f8..1567c38 100644 --- a/humble-arm64/Dockerfile +++ b/humble-arm64/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/humble/Dockerfile b/humble/Dockerfile index 2ab032e..569b272 100644 --- a/humble/Dockerfile +++ b/humble/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/rolling-arm64/Dockerfile b/rolling-arm64/Dockerfile index f06091a..ed1aede 100644 --- a/rolling-arm64/Dockerfile +++ b/rolling-arm64/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers diff --git a/rolling/Dockerfile b/rolling/Dockerfile index 9a1af3a..fb6347e 100644 --- a/rolling/Dockerfile +++ b/rolling/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update -q && \ apt-get upgrade -yq && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu terminator && \ rm -rf /var/lib/apt/lists/* +RUN rm /etc/apt/apt.conf.d/docker-clean RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ echo ubuntu:ubuntu | chpasswd && \ echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers