Skip to content

Commit 50d89c3

Browse files
author
duanhongyi
committed
fix(Dockerfile): empty continuation lines will become errors in a future release
1 parent c0f42c3 commit 50d89c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM postgres:11
22

33
ARG DEBIAN_FRONTEND=noninteractive
4+
ARG BUILD_DEPS='gcc git libffi-dev libssl-dev python3-dev python3-pip python3-wheel'
45

5-
RUN buildDeps='gcc git libffi-dev libssl-dev python3-dev python3-pip python3-wheel' && \
6-
apt-get update && \
6+
RUN apt-get update && \
77
apt-get install -y --no-install-recommends \
8-
$buildDeps \
8+
$BUILD_DEPS \
99
gosu \
1010
lzop \
1111
libpq-dev \
@@ -29,7 +29,7 @@ RUN pip install --upgrade setuptools && \
2929
azure-storage==0.20.0
3030

3131
# cleanup
32-
RUN apt-get purge -y --auto-remove $buildDeps && \
32+
RUN apt-get purge -y --auto-remove $BUILD_DEPS && \
3333
apt-get autoremove -y && \
3434
apt-get clean -y
3535

0 commit comments

Comments
 (0)