Skip to content

Commit 275072f

Browse files
author
Jeremy Price
committed
try a different ubuntu version
1 parent 752bb0c commit 275072f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
docker:
2424
# Ensure this job never runs on forked repos. It's only executed for 'jerm/snipe-it'
2525
if: github.repository == 'jerm/jerm-it'
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-22.04
2727
env:
2828
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
2929
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
110110

111111
# Get dependencies
112112
USER docker
113-
RUN composer install --no-dev --working-dir=/var/www/html --prefer-source && \
114-
rm -rf /var/www/html/vendor/*/.git /var/www/html/vendor/*/*/.git /home/docker/.cache/composer
113+
RUN composer install --no-dev --working-dir=/var/www/html
114+
#--prefer-source && \
115+
# rm -rf /var/www/html/vendor/*/.git /var/www/html/vendor/*/*/.git /home/docker/.cache/composer
115116
USER root
116117

117118
############### APPLICATION INSTALL/INIT #################

0 commit comments

Comments
 (0)