Initial commit
commit
3134930d5f
|
@ -0,0 +1,7 @@
|
||||||
|
FROM arm32v7/python:3.7-slim
|
||||||
|
|
||||||
|
RUN apt update && apt install -y \
|
||||||
|
gcc \
|
||||||
|
libffi-dev \
|
||||||
|
libssl-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
|
@ -0,0 +1,16 @@
|
||||||
|
def containerName
|
||||||
|
|
||||||
|
node('arm') {
|
||||||
|
stage('Checkout SCM') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage('Agent Setup') {
|
||||||
|
containerName = sh \
|
||||||
|
script: 'sha256sum Containerfile',
|
||||||
|
returnStdout: true
|
||||||
|
sh "podman build -t ${containerName} -f Containerfile"
|
||||||
|
}
|
||||||
|
stage('Build Wheels') {
|
||||||
|
sh "podman run ${containerName} -w ${WORKSPACE} -v ${WORKSPACE}:${WORKSPACE} sh build.sh"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue