Skip to content

Commit

Permalink
try to fix missing apt key before apt update
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Apr 27, 2022
1 parent 23b5a0f commit 7e57bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docker/dpkg-query-autodetect/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ FROM ubuntu:latest

WORKDIR /ahab-docker

RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
RUN apt-get update && apt-get -y install python3-pip sudo

COPY ahab .

RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C

# Spit out these just for easier debugging
RUN dpkg-query --show --showformat='${Package} ${Version}\n'

Expand Down
3 changes: 1 addition & 2 deletions docker/dpkg-query/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ FROM ubuntu:latest

WORKDIR /ahab-docker

RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
RUN apt-get update && apt-get -y install python3-pip sudo

COPY ahab .

RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C

# Spit out these just for easier debugging
RUN dpkg-query --show --showformat='${Package} ${Version}\n'

Expand Down

0 comments on commit 7e57bda

Please sign in to comment.