Skip to content

Commit

Permalink
Remove unneeded os-release
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 14, 2019
1 parent 5a648fc commit c451a4e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ LABEL maintainer Camptocamp "[email protected]"
ENV \
DEBIAN_FRONTEND=noninteractive
RUN \
. /etc/os-release && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends apt-utils && \
apt-get install --assume-yes --no-install-recommends gettext && \
Expand All @@ -23,7 +22,6 @@ FROM base AS base-node

ENV NODE_PATH=/usr/lib/node_modules
RUN \
. /etc/os-release && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends apt-transport-https && \
echo "deb https://deb.nodesource.com/node_10.x ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/nodesource.list && \
Expand Down Expand Up @@ -74,7 +72,6 @@ ARG MAJOR_VERSION
ENV MAJOR_VERSION=$MAJOR_VERSION

RUN \
. /etc/os-release && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends libxml2-utils && \
apt-get clean && \
Expand Down
7 changes: 2 additions & 5 deletions doc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM debian

RUN \
. /etc/os-release && \
apt-get update
RUN \
apt-get install --assume-yes --no-install-recommends python3-pip python3-setuptools gettext
RUN apt-get update
RUN apt-get install --assume-yes --no-install-recommends python3-pip python3-setuptools gettext

COPY requirements.txt /tmp/
RUN \
Expand Down
1 change: 0 additions & 1 deletion docker/test-mapserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM camptocamp/mapserver:7.4
LABEL maintainer Camptocamp "[email protected]"

RUN \
. /etc/os-release && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends gettext && \
apt-get clean && \
Expand Down

0 comments on commit c451a4e

Please sign in to comment.