Skip to content

Commit

Permalink
Merge pull request #44 from beetlebugorg/upgrade/dockerfile
Browse files Browse the repository at this point in the history
Upgrade Imagemagick and httpd
  • Loading branch information
JC authored Jan 18, 2022
2 parents 508318b + f702f29 commit afdbe7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG HTTPD_VERSION=2.4.49
FROM httpd:${HTTPD_VERSION} as build-mod-dims

ARG DIMS_VERSION=3.3.26
ARG IMAGEMAGICK_VERSION=6.9.12-23
ARG IMAGEMAGICK_VERSION=6.9.12-34
ARG WEBP_VERSION=1.2.1
ARG TIFF_VERSION=4.3.0
ARG PREFIX=/usr/local/imagemagick
Expand Down
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"ms-vscode.cpptools"
],

// https://stackoverflow.com/questions/35860527/warning-error-disabling-address-space-randomization-operation-not-permitted
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000]

Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG HTTPD_VERSION=2.4.49
ARG HTTPD_VERSION=2.4.52

FROM httpd:${HTTPD_VERSION} as build-mod-dims

ARG DIMS_VERSION=3.3.26
ARG IMAGEMAGICK_VERSION=6.9.12-23
ARG IMAGEMAGICK_VERSION=6.9.12-34
ARG WEBP_VERSION=1.2.1
ARG TIFF_VERSION=4.3.0
ARG PREFIX=/usr/local/imagemagick
Expand Down Expand Up @@ -84,7 +84,7 @@ RUN apt-get update && \
apt-get -y install libcurl4 \
libpangocairo-1.0-0 libgif7 libjpeg62-turbo libpng16-16 libgomp1 libjbig0 liblcms2-2 \
libbz2-1.0 libfftw3-double3 libfontconfig1 libfreetype6 libheif1 \
liblqr-1-0 libltdl7 liblzma5 libopenjp2-7 libopenexr23 ca-certificates && \
liblqr-1-0 libltdl7 liblzma5 libopenjp2-7 libopenexr25 ca-certificates && \
rm -rf /usr/local/apache2/build \
/usr/local/apache2/cgi-bin \
/usr/local/apache2/include \
Expand All @@ -94,4 +94,4 @@ RUN apt-get update && \
sed "s|^#LoadModule authz_core_module|LoadModule authz_core_module|" /usr/local/apache2/conf/httpd.conf -i && \
echo "Include conf/extra/dims.conf" >> /usr/local/apache2/conf/httpd.conf

USER 33
USER 33

0 comments on commit afdbe7a

Please sign in to comment.