Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
WORKDIR /app

# requires git to install requirements with git+https
RUN apt-get update \
# Update to debian archive from https://gist.github.com/ishad0w/6ce1eb569c734880200c47923577426a
RUN echo "deb http://archive.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \

Check notice on line 7 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L7 <DL3009>(https://github.com/hadolint/hadolint/wiki/DL3009)

Delete the apt-get lists after installing something
Raw output
message:"Delete the apt-get lists after installing something" location:{path:"Dockerfile" range:{start:{line:7 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3009" url:"https://github.com/hadolint/hadolint/wiki/DL3009"}
&& echo "deb http://archive.debian.org/debian-security buster/updates main contrib non-free" >> /etc/apt/sources.list \
&& echo "deb http://archive.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends build-essential git gcc binutils

COPY . .
Expand Down