Skip to content

Commit c9a3569

Browse files
committed
Polish Dockerfile
1 parent 41081f7 commit c9a3569

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Dockerfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM debian:bookworm as builder
1+
FROM debian:bookworm AS builder
22
LABEL maintainer="PDOK dev <https://github.com/PDOK/mapserver-docker/issues>"
33

4-
ENV DEBIAN_FRONTEND noninteractive
5-
ENV TZ Europe/Amsterdam
4+
ENV DEBIAN_FRONTEND=noninteractive
5+
ENV TZ=Europe/Amsterdam
66

77
RUN apt-get update -y --fix-missing && \
88
apt-get install -y --no-install-recommends --fix-missing \
@@ -47,7 +47,7 @@ RUN apt-get update -y --fix-missing && \
4747

4848
RUN update-locale LANG=C.UTF-8
4949

50-
ENV HARFBUZZ_VERSION 7.3.0
50+
ENV HARFBUZZ_VERSION="7.3.0"
5151
RUN cd /tmp && \
5252
wget https://github.com/harfbuzz/harfbuzz/releases/download/$HARFBUZZ_VERSION/harfbuzz-$HARFBUZZ_VERSION.tar.xz && \
5353
tar xJf harfbuzz-$HARFBUZZ_VERSION.tar.xz && \
@@ -142,8 +142,8 @@ FROM pdok/lighttpd:1.4.67-bookworm-rc1 AS service
142142
USER root
143143
LABEL maintainer="PDOK dev <https://github.com/PDOK/mapserver-docker/issues>"
144144

145-
ENV DEBIAN_FRONTEND noninteractive
146-
ENV TZ Europe/Amsterdam
145+
ENV DEBIAN_FRONTEND=noninteractive
146+
ENV TZ=Europe/Amsterdam
147147

148148
RUN apt-get -y update && \
149149
apt-get install -y --no-install-recommends \
@@ -193,17 +193,17 @@ ADD config/request.lua /srv/mapserver/config/request.lua
193193

194194
USER www
195195

196-
ENV DEBUG 0
197-
ENV MIN_PROCS 4
198-
ENV MAX_PROCS 8
199-
ENV MAX_LOAD_PER_PROC 1
200-
ENV IDLE_TIMEOUT 20
196+
ENV DEBUG=0
197+
ENV MIN_PROCS=4
198+
ENV MAX_PROCS=8
199+
ENV MAX_LOAD_PER_PROC=1
200+
ENV IDLE_TIMEOUT=20
201201

202202
EXPOSE 80
203203

204204
CMD ["lighttpd", "-D", "-f", "/srv/mapserver/config/lighttpd.conf"]
205205

206-
FROM ghcr.io/geodetischeinfrastructuur/transformations:1.2.1 as nsgi-transformations
206+
FROM ghcr.io/geodetischeinfrastructuur/transformations:1.2.1 AS nsgi-transformations
207207
FROM service AS NL
208208

209209
USER root

0 commit comments

Comments
 (0)