Skip to content

Commit 0f70d9f

Browse files
committed
merge RUN cmds
1 parent b23ff88 commit 0f70d9f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ COPY ./package.json yarn.lock ./
99
ENV PYTHON=python3.9
1010
ENV PY_VERSION=3.9.7
1111

12-
RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list && \
13-
sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list
14-
15-
RUN apt-get update \
12+
RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list \
13+
&& sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list \
14+
&& apt-get update \
1615
&& apt-get install -y --no-install-recommends \
1716
jq \
1817
python \

0 commit comments

Comments
 (0)