Skip to content

Commit 42748e8

Browse files
authored
Fix s6 permissions and update packages (#5)
* try to fix s6 perms * Revert "try to fix s6 perms" This reverts commit fd951bb. * chmod +x s6 scripts * update dependencies * bump docker image
1 parent 0a211bd commit 42748e8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Dockerfile

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM alpine:3.19 AS rootfs-stage
1+
FROM alpine:3.20 AS rootfs-stage
22

3-
ARG S6_OVERLAY_VERSION="3.1.6.2"
3+
ARG S6_OVERLAY_VERSION="3.2.0.0"
44
ARG TARGETPLATFORM
55

66
RUN apk add --no-cache \
@@ -30,13 +30,12 @@ RUN tar -C /root-out/ -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz
3030
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz /tmp
3131
RUN tar -C /root-out/ -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
3232

33-
FROM python:3.11-alpine3.19
33+
FROM python:3.12-alpine3.20
3434

3535
WORKDIR /app
3636
COPY --from=rootfs-stage /root-out/ /
3737

38-
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
39-
PYTHONDONTWRITEBYTECODE=1
38+
ENV PYTHONDONTWRITEBYTECODE=1
4039

4140
RUN \
4241
echo "**** install runtime packages ****" && \
@@ -57,7 +56,7 @@ RUN \
5756
/tmp/*
5857

5958
COPY requirements.txt /app/
60-
RUN pip3 install --no-cache-dir -r requirements.txt
59+
RUN pip install --no-cache-dir -r requirements.txt
6160

6261
# copy app and services
6362
COPY tmdb_notifier/ tmdb_notifier/

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
apprise~=1.7.0
2-
requests==2.31.0
1+
apprise~=1.8.0
2+
requests~=2.32.3

0 commit comments

Comments
 (0)