Skip to content

Commit ee7e9be

Browse files
committed
Some improvs to Dockerfile
1 parent 69561b1 commit ee7e9be

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docker/geoserver/Dockerfile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,21 @@ VOLUME $GEOSERVER_DATA_DIR
4040
# copy the script and perform the run of scripts from entrypoint.sh
4141
RUN mkdir -p /usr/local/tomcat/tmp
4242
WORKDIR /usr/local/tomcat/tmp
43-
COPY set_geoserver_auth.sh /usr/local/tomcat/tmp
44-
COPY entrypoint.sh /usr/local/tomcat/tmp
45-
COPY tasks.py /usr/local/tomcat/tmp
43+
COPY set_geoserver_auth.sh \
44+
entrypoint.sh \
45+
tasks.py \
46+
multidump.sh \
47+
multidump-alt.sh \
48+
/usr/local/tomcat/tmp
49+
4650
COPY ./templates /templates
47-
COPY multidump.sh /usr/local/tomcat/tmp
48-
COPY multidump-alt.sh /usr/local/tomcat/tmp
4951

50-
RUN chmod +x /usr/local/tomcat/tmp/set_geoserver_auth.sh \
51-
&& chmod +x /usr/local/tomcat/tmp/entrypoint.sh
52+
RUN chmod +x \
53+
/usr/local/tomcat/tmp/set_geoserver_auth.sh \
54+
/usr/local/tomcat/tmp/entrypoint.sh
5255

53-
RUN apt-get update \
54-
&& apt-get install -y procps less \
55-
&& apt-get install -y python3 python3-pip python3-dev
56+
RUN apt-get install -y procps less && \
57+
apt-get install -y python3 python3-pip python3-dev
5658

5759
RUN pip install j2cli invoke==2.2.0 requests==2.31.0
5860

0 commit comments

Comments
 (0)