Skip to content

Commit

Permalink
🐛 (patches): Attempt to fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsNiklas committed Sep 24, 2023
1 parent f091486 commit 8a36283
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
10 changes: 5 additions & 5 deletions domjudge-packaging/docker/domserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
ADD domjudge.tar.gz /domjudge-src
COPY domserver/build.sh /domjudge-src/build.sh

# Apply patches
COPY domserver/scripts/patches.sh /scripts/patches.sh
COPY domserver/scripts/patches.d /scripts/patches.d
RUN chmod 700 /scripts/patches.sh && /scripts/patches.sh

# Build and install domserver
RUN /domjudge-src/build.sh

Expand Down Expand Up @@ -103,6 +98,11 @@ ENV PATH="$PATH:/opt/domjudge/domserver/bin"
COPY domserver/configure.sh /configure.sh
RUN chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh

# Apply patches
COPY domserver/scripts/patches.sh /scripts/patches.sh
COPY domserver/scripts/patches.d /scripts/patches.d
RUN chmod 700 /scripts/patches.sh && /scripts/patches.sh

# Expose HTTP port
EXPOSE 80

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 8a36283

Please sign in to comment.