Skip to content

Commit

Permalink
Docker image is too big.
Browse files Browse the repository at this point in the history
Problem:
Docker image is 1.18GB.

Solution:
Base ubuntu image is only 77.8MB so adding all deps adds
950MB. Added no-install-recommends reduces image size to
853MB.

Signed-off-by: Paul Hewlett <[email protected]>
  • Loading branch information
eccles committed Nov 10, 2022
1 parent 3845ec0 commit c316b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-scraper
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:jammy

RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y \
&& apt-get install -y --no-install-recommends \
curl \
default-jdk \
jq \
Expand Down

0 comments on commit c316b95

Please sign in to comment.