Skip to content

Commit 759b20c

Browse files
authored
Merge pull request #100 from PeterDaveHello/FixDockerfileCommands
Use `&&` instead of `;` to properly combine commands in Dockerfile
2 parents 22808f0 + 9671fa5 commit 759b20c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV CFLAGS=-Ofast
77
ENV BUILD_DEPS curl make build-essential git libevent-dev libexpat1-dev autoconf file libssl-dev byacc
88
ENV RUNTIME_DEPS bash util-linux coreutils findutils grep libssl1.1 ldnsutils libevent-2.1 expat ca-certificates runit runit-helper jed
99

10-
RUN apt-get update; apt-get -qy dist-upgrade; apt-get -qy clean && \
10+
RUN apt-get update && apt-get -qy dist-upgrade && apt-get -qy clean && \
1111
apt-get install -qy --no-install-recommends $RUNTIME_DEPS && \
1212
rm -fr /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/* /var/log/apt/* /var/log/*.log
1313

@@ -18,7 +18,7 @@ ENV UNBOUND_GIT_REVISION 74e06cc4b3fbe3dcea08eb93fcfca8f4359a9fb5
1818

1919
WORKDIR /tmp
2020

21-
RUN apt-get update; apt-get install -qy --no-install-recommends $BUILD_DEPS && \
21+
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
2222
git clone --depth=1000 "$UNBOUND_GIT_URL" && \
2323
cd unbound && \
2424
git checkout "$UNBOUND_GIT_REVISION" && \

0 commit comments

Comments
 (0)