Skip to content

Commit

Permalink
Dockerfile modernization (#129)
Browse files Browse the repository at this point in the history
* dockerfile modernization

Signed-off-by: Peter Novotnak <[email protected]>

* reduce built image size

Signed-off-by: Peter Novotnak <[email protected]>
  • Loading branch information
pnovotnak authored Aug 6, 2020
1 parent c78f815 commit 9e3a122
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions admiral/docker/Dockerfile.admiral
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM ubuntu:xenial
FROM ubuntu:focal

RUN apt update -y

RUN apt install -y curl
RUN set -ex; \
apt-get update; \
apt-get install -qy --no-install-recommends curl; \
rm -rf /var/lib/apt/lists/*

COPY ./out/admiral /usr/local/admiral

Expand Down

0 comments on commit 9e3a122

Please sign in to comment.