diff --git a/Containerfile b/Containerfile index 7278d36..84fa0b1 100644 --- a/Containerfile +++ b/Containerfile @@ -13,13 +13,16 @@ COPY extra-packages / # Install custom CA cert COPY aussielunix_Root_CA_168848365996868199089383065266162030969.crt /usr/local/share/ca-certificates/ +# update apt and install ca-certificates and dist-upgrade +RUN apt-get update -yq && \ + apt-get install ca-certificates && \ + apt-get -yq dist-upgrade + # Install Hashicorp apt signing key and apt repo COPY hashicorp-apt-keyring.gpg /etc/apt/keyrings/hashicorp-apt-keyring.gpg COPY hashicorp-apt-repo.list /etc/apt/sources.list.d/hashicorp.list -RUN apt-get install ca-certificates && \ - apt-get update -yq && \ - apt-get -yq dist-upgrade +RUN apt-get update -yq && \ RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install \ libnss-myhostname ubuntu-minimal ubuntu-standard \