Skip to content

Commit

Permalink
Update to Alpine 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Jan 8, 2024
1 parent c76e5f4 commit 47842eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
9 changes: 3 additions & 6 deletions 3.11-basic/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.5
FROM alpine:3.19.0

ARG TARGETARCH

Expand All @@ -17,11 +17,8 @@ ENV PIP_NO_COMPILE=1 \

RUN chmod +x /bin/clean \
&& mkdir "$PIP_CACHE_DIR" && chmod a+rwx "$PIP_CACHE_DIR" \
&& apk add python3 python3-dev libffi-dev libpq-dev openssl-dev \
&& apk add sqlite-libs --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
&& ln -s /usr/bin/pip3 /usr/bin/pip \
&& python3 -m ensurepip --upgrade \
&& pip install -U pip setuptools wheel \
&& apk add python3 python3-dev py3-wheel py3-setuptools py3-pip libffi-dev libpq-dev openssl-dev \
&& apk add -u openssl ca-certificates \
&& addgroup -g 10001 user \
&& adduser -u 10000 -S -s /bin/sh -G user user \
&& echo "user:password" | chpasswd 2>/dev/null \
Expand Down
15 changes: 4 additions & 11 deletions 3.11-docworker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.5
FROM alpine:3.19.0

ARG TARGETARCH

Expand All @@ -16,19 +16,16 @@ ENV PIP_NO_COMPILE=1 \

RUN chmod +x /bin/clean \
&& mkdir "$PIP_CACHE_DIR" && chmod a+rwx "$PIP_CACHE_DIR" \
&& apk add sqlite-libs --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
&& apk add -u python3 python3-dev libpq-dev libffi-dev openssl-dev gettext \
&& apk add -u python3 python3-dev py3-wheel py3-setuptools py3-pip libpq-dev libffi-dev openssl-dev gettext \
&& apk add -u cairo cairo-gobject pango gdk-pixbuf py3-brotli py3-lxml py3-cffi py3-pillow msttcorefonts-installer fontconfig zopfli \
&& apk add -u lua lua-dev lua-penlight zip \
&& apk add -u libstdc++ libx11 libxrender libxext libssl1.1 ca-certificates dbus fontconfig freetype ttf-dejavu ttf-droid ttf-freefont ttf-liberation font-noto-emoji \
&& apk add -u openssl ca-certificates \
&& apk add -u dbus fontconfig freetype ttf-dejavu ttf-droid ttf-freefont ttf-liberation font-noto-emoji \
&& dbus-uuidgen > /var/lib/dbus/machine-id && apk del dbus \
&& rm -rf /var/cache/apk/* /tmp/* \
&& wget -O /bin/wait-for https://raw.githubusercontent.com/eficode/wait-for/v2.2.3/wait-for && chmod a+x /bin/wait-for \
&& update-ms-fonts \
&& fc-cache -f \
&& ln -s /usr/bin/pip3 /usr/bin/pip \
&& python3 -m ensurepip --upgrade \
&& pip install -U pip setuptools wheel \
&& addgroup -g 10001 user \
&& adduser -u 10000 -S -s /bin/sh -G user user \
&& echo "user:password" | chpasswd 2>/dev/null \
Expand Down Expand Up @@ -65,7 +62,3 @@ RUN mkdir -p /pandoc/filters \
&& wget -O /pandoc/filters/logging.lua https://raw.githubusercontent.com/wlupton/pandoc-lua-logging/main/logging.lua \
&& chown -R user:user /pandoc \
&& clean

# WeasyPrint
RUN pip install weasyprint==60.1 \
&& clean

0 comments on commit 47842eb

Please sign in to comment.