From fe7dadf641838eab9791f653eaaedbb6ccae8387 Mon Sep 17 00:00:00 2001 From: Dan Rollo Date: Tue, 26 Apr 2022 22:53:57 -0400 Subject: [PATCH] more apt stuff --- docker/dpkg-query-autodetect/Dockerfile | 7 +++++-- docker/dpkg-query/Dockerfile | 8 +++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docker/dpkg-query-autodetect/Dockerfile b/docker/dpkg-query-autodetect/Dockerfile index ef99ae4..b42920a 100644 --- a/docker/dpkg-query-autodetect/Dockerfile +++ b/docker/dpkg-query-autodetect/Dockerfile @@ -2,9 +2,12 @@ FROM ubuntu:latest WORKDIR /ahab-docker +RUN apt-get update +RUN chmod 666 /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg +RUN chmod 666 /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg +#RUN apt-get update & apt-get install -y gnupg +#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C RUN apt-get update && apt-get -y install python3-pip -RUN apt-get update & apt-get install -y gnupg -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C COPY ahab . diff --git a/docker/dpkg-query/Dockerfile b/docker/dpkg-query/Dockerfile index bdde2e7..0ae6cd6 100644 --- a/docker/dpkg-query/Dockerfile +++ b/docker/dpkg-query/Dockerfile @@ -2,9 +2,11 @@ FROM ubuntu:latest WORKDIR /ahab-docker -RUN apt-get update && apt-get -y install python3-pip -RUN apt-get update & apt-get install -y gnupg -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C +RUN apt-get update +RUN chmod 666 /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg +RUN chmod 666 /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg +#RUN apt-get update & apt-get install -y gnupg +#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C RUN apt-get update && apt-get -y install python3-pip COPY ahab .