Skip to content

Commit 2a685a2

Browse files
committed
fixing lint issues #1122
1 parent 859c4c1 commit 2a685a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/alpine/Dockerfile.build

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ RUN apk add --no-cache \
1212

1313
WORKDIR /tmp
1414

15-
RUN wget https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.xz && \
16-
tar xf vips-${VIPS_VERSION}.tar.xz && \
17-
cd vips-${VIPS_VERSION} && \
18-
./configure \
15+
RUN wget --progress=dot:giga https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.xz && \
16+
tar xf vips-${VIPS_VERSION}.tar.xz
17+
18+
WORKDIR /tmp/vips-${VIPS_VERSION}
19+
20+
RUN ./configure \
1921
--prefix=/usr \
2022
--disable-static \
2123
--enable-shared \
@@ -42,7 +44,7 @@ RUN wget https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/v
4244
--without-analyze && \
4345
make -j"$(nproc)" && \
4446
make install && \
45-
ldconfig || true
47+
{ ldconfig || true; }
4648

4749
COPY pigallery2-release /app
4850
WORKDIR /app
@@ -66,12 +68,10 @@ WORKDIR /app
6668

6769

6870
ENV NODE_ENV=production \
69-
# overrides only the default value of the settings (the actual value can be overwritten through config.json)
7071
default-Database-dbFolder=/app/data/db \
7172
default-Media-folder=/app/data/images \
7273
default-Media-tempFolder=/app/data/tmp \
7374
default-Extensions-folder=/app/data/config/extensions \
74-
# flagging dockerized environment
7575
PI_DOCKER=true
7676

7777
EXPOSE 80

0 commit comments

Comments
 (0)