Move CI Dockerfile

This commit is contained in:
TheBrokenRail 2022-03-09 22:53:37 -05:00
parent a1f777f632
commit 244a69d1aa
4 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ pipeline {
stage('Debian Bullseye') { stage('Debian Bullseye') {
agent { agent {
docker { docker {
filename 'Dockerfile.build' filename 'scripts/ci/Dockerfile'
args '-v /var/run/docker.sock:/var/run/docker.sock' args '-v /var/run/docker.sock:/var/run/docker.sock'
} }
} }

View File

@ -3,7 +3,7 @@
set -e set -e
# Build Docker Image # Build Docker Image
docker build -f Dockerfile.build -t minecraft-pi-reborn-build . docker build -f scripts/ci/Dockerfile -t minecraft-pi-reborn-build .
# Run # Run
docker run --rm -v "$(pwd):/data" -w '/data' -u '1000:1000' minecraft-pi-reborn-build ./scripts/ci/run.sh docker run --rm -v "$(pwd):/data" -w '/data' -u '1000:1000' minecraft-pi-reborn-build ./scripts/ci/run.sh

View File

@ -99,4 +99,4 @@ sudo rm -f /usr/local/bin/appimagetool
sudo ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool sudo ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool
# Install appimage-builder # Install appimage-builder
sudo pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git sudo pip3 install 'git+https://github.com/AppImageCrafters/appimage-builder.git'