Skip to content

Commit

Permalink
Fixed some linter warnings
Browse files Browse the repository at this point in the history
DL3009 info: Delete the apt-get lists after installing something
DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
  • Loading branch information
dosas authored and ehelms committed Jan 30, 2024
1 parent 67a6cf1 commit ff3ad99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ FROM postgres:${POSTGRESQL_VERSION}

COPY Makefile *.control *.sql /src/

RUN apt-get update && apt-get -y -qq install make && make -C /src install && apt-get clean
RUN apt-get update \
&& apt-get -y -qq install --no-install-recommends make \
&& make -C /src install \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

0 comments on commit ff3ad99

Please sign in to comment.