Skip to content

Commit

Permalink
Merge pull request #18 from mbutkereit/update-bookworm
Browse files Browse the repository at this point in the history
Update debian version
  • Loading branch information
stmh authored Jul 26, 2024
2 parents 11379d8 + 4082119 commit f7117fc
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 23 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export WHAT=$1

if [ -z $2 ]
then
export VERSIONS_TO_BUILD="74 80 81 82 83"
export VERSIONS_TO_BUILD="81 82 83"
else
export VERSIONS_TO_BUILD="$2"
fi
Expand Down Expand Up @@ -108,8 +108,8 @@ function build_version() {
cd ../php-wkhtmltopdf
build_and_push_image $php_version php-$1$suffix php-$php_version-wkhtmltopdf$suffix
cd ../php-node

build_node_and_push_image $php_version php-$1$suffix $suffix
cd ..
}


Expand Down
5 changes: 2 additions & 3 deletions php-wkhtmltopdf/Dockerfile.php-74
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
arm64) ARCH='arm64';; \
*) ARCH='amd64' ;; \
esac \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_$ARCH.deb

&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb
4 changes: 2 additions & 2 deletions php-wkhtmltopdf/Dockerfile.php-80
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
arm64) ARCH='arm64';; \
*) ARCH='amd64' ;; \
esac \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_$ARCH.deb
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb
4 changes: 2 additions & 2 deletions php-wkhtmltopdf/Dockerfile.php-81
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
arm64) ARCH='arm64';; \
*) ARCH='amd64' ;; \
esac \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_$ARCH.deb
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb
4 changes: 2 additions & 2 deletions php-wkhtmltopdf/Dockerfile.php-82
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
arm64) ARCH='arm64';; \
*) ARCH='amd64' ;; \
esac \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_$ARCH.deb
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb
4 changes: 2 additions & 2 deletions php-wkhtmltopdf/Dockerfile.php-83
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
arm64) ARCH='arm64';; \
*) ARCH='amd64' ;; \
esac \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_$ARCH.deb
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb \
&& dpkg -i wkhtmltox_0.12.6.1-3.bookworm_$ARCH.deb
4 changes: 2 additions & 2 deletions php/Dockerfile.php-74
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# includes apache, php, xhprof, imagemagick, sshd and drush
# No mysql, use a dedicated mysql-docker-image and link the container.

FROM debian:buster
FROM debian:bookworm
LABEL org.opencontainers.image.authors="stephan@factorial.io"

RUN dpkg-divert --local --rename --add /sbin/initctl
Expand All @@ -14,7 +14,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update --fix-missing && apt
RUN /usr/bin/wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list

RUN export DEBIAN_FRONTEND=noninteractive && apt-get update --fix-missing && apt-get -y -q install rsync unzip apache2 pwgen python-setuptools vim-tiny openssh-server cron vim curl graphviz make imagemagick libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-memcache php7.4-redis php7.4-mbstring php7.4-zip php7.4-gd php7.4-dom php7.4-xml php7.4-bcmath php7.4-soap php7.4-sqlite3
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update --fix-missing && apt-get -y -q install rsync unzip apache2 pwgen python3-setuptools vim-tiny openssh-server cron vim curl graphviz make imagemagick libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-memcache php7.4-redis php7.4-mbstring php7.4-zip php7.4-gd php7.4-dom php7.4-xml php7.4-bcmath php7.4-soap php7.4-sqlite3

# composer and drush
RUN curl -ss https://getcomposer.org/installer | php
Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.php-80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# VERSION php-80
# DOCKER-VERSION 2
FROM debian:buster
FROM debian:bookworm
LABEL org.opencontainers.image.authors="stephan@factorial.io"

RUN dpkg-divert --local --rename --add /sbin/initctl
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN echo 'root:root' |chpasswd
RUN sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
RUN a2enmod rewrite vhost_alias

RUN pip3 install supervisor
RUN pip3 install supervisor --break-system-packages
ADD ./common/start.sh /start.sh
ADD ./common/foreground.sh /etc/apache2/foreground.sh
ADD ./common/apache-vhost.conf /etc/apache2/sites-available/000-default.conf
Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.php-81
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# VERSION php-81
# DOCKER-VERSION 2
FROM debian:buster
FROM debian:bookworm
LABEL org.opencontainers.image.authors="stephan@factorial.io"

RUN dpkg-divert --local --rename --add /sbin/initctl
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN echo 'root:root' |chpasswd
RUN sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
RUN a2enmod rewrite vhost_alias

RUN pip3 install supervisor
RUN pip3 install supervisor --break-system-packages
ADD ./common/start.sh /start.sh
ADD ./common/foreground.sh /etc/apache2/foreground.sh
ADD ./common/apache-vhost.conf /etc/apache2/sites-available/000-default.conf
Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.php-82
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# VERSION php-81
# DOCKER-VERSION 2
FROM debian:buster
FROM debian:bookworm
LABEL org.opencontainers.image.authors="stephan@factorial.io"

RUN dpkg-divert --local --rename --add /sbin/initctl
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN echo 'root:root' |chpasswd
RUN sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
RUN a2enmod rewrite vhost_alias

RUN pip3 install supervisor
RUN pip3 install supervisor --break-system-packages
ADD ./common/start.sh /start.sh
ADD ./common/foreground.sh /etc/apache2/foreground.sh
ADD ./common/apache-vhost.conf /etc/apache2/sites-available/000-default.conf
Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.php-83
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# VERSION php-83
# DOCKER-VERSION 2
FROM debian:buster
FROM debian:bookworm
LABEL org.opencontainers.image.authors="stephan@factorial.io"

RUN dpkg-divert --local --rename --add /sbin/initctl
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN echo 'root:root' |chpasswd
RUN sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
RUN a2enmod rewrite vhost_alias

RUN pip3 install supervisor
RUN pip3 install supervisor --break-system-packages
ADD ./common/start.sh /start.sh
ADD ./common/foreground.sh /etc/apache2/foreground.sh
ADD ./common/apache-vhost.conf /etc/apache2/sites-available/000-default.conf
Expand Down

0 comments on commit f7117fc

Please sign in to comment.