Move CI Dockerfile
This commit is contained in:
parent
a1f777f632
commit
244a69d1aa
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user