Skip to content

Commit

Permalink
Try bookworm
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
  • Loading branch information
SystemKeeper committed Sep 28, 2023
1 parent 279d821 commit 00ee064
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions shallow-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye
FROM debian:bookworm

# Update repos install packages and cleanup
# all in one step so we avoid large intermediate layers.
Expand All @@ -17,15 +17,13 @@ RUN apt-get update && \
apt-get autoremove -y && apt-get autoclean && apt-get clean && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

# Use git version from bullseye-backports to work around an issue on self-hosted runner
RUN echo "deb http://deb.debian.org/debian bullseye-backports main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && apt-get -t bullseye-backports install git -y

COPY opcache-recommended.ini /usr/local/etc/php/conf.d/

WORKDIR /var/www/html

RUN rm -rf /var/www/html
# Looks like there's an issue on self-hosted runners with fuse-overlayfs that prevents us deleting the directory directly
# so rename it first and then remove it
RUN mv /var/www/html/ /var/www/html2/ && rm -rf /var/www/html2/
RUN mkdir -p /var/www/html

RUN git clone --depth 1 https://github.com/nextcloud/server.git .
Expand Down

0 comments on commit 00ee064

Please sign in to comment.