Skip to content

Commit 59cf33a

Browse files
committed
Improve dep installation order in Dockerfile
1 parent ef4fcc9 commit 59cf33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM httpd:2.4.59
22

33
RUN apt-get update
44
RUN apt-get install -y libcgi-pm-perl libcapture-tiny-perl libdatetime-perl libcapture-tiny-perl libgeo-ip-perl
5-
RUN apt-get install -y libjson-xs-perl libintl-perl libxml-rss-perl libdatetime-format-strptime-perl
5+
RUN apt-get install -y libjson-xs-perl libintl-perl libxml-rss-perl libdatetime-format-strptime-perl make gettext
66

77
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf-extra
88
RUN cat /usr/local/apache2/conf/httpd.conf-extra >> /usr/local/apache2/conf/httpd.conf
@@ -12,7 +12,7 @@ COPY ./cgi-bin/ /usr/local/apache2/cgi-bin/
1212
COPY ./config/ /usr/local/apache2/config/
1313

1414
WORKDIR /usr/local/apache2/config/
15-
RUN apt-get install -y make gettext && make update-mo && make install
15+
RUN make update-mo && make install
1616
WORKDIR /usr/local/apache2/
1717

1818
# Set permissions to www-data, there's seems to be no other way to do that

0 commit comments

Comments
 (0)