Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
[docker] apt-key to pull import key for ppa:ubuntu-toolchain-r
Browse files Browse the repository at this point in the history
Strange, but I noticed several times docker during apt-get
if the key was not added. Let's do it explicitly then.

[ci skip]
  • Loading branch information
mloskot committed Sep 27, 2017
1 parent a1630f3 commit 91ab5bd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM ubuntu:latest
RUN DEBIAN_FRONTEND=noninteractive apt-get -qqy update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qqy install software-properties-common

RUN DEBIAN_FRONTEND=noninteractive apt-get -qy update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install software-properties-common

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BA9EF27F
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN DEBIAN_FRONTEND=noninteractive apt-get update -qqy \
&& DEBIAN_FRONTEND=noninteractive apt-get -qqy install \

RUN DEBIAN_FRONTEND=noninteractive apt-get -qy update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install \
$(apt-cache -q search "libboost-locale1\..*-dev" | awk '{print $1}' | sort -nr | head -n 1) \
cmake \
doxygen \
Expand Down

0 comments on commit 91ab5bd

Please sign in to comment.