Initial commit
commit
c7ae8dba6b
|
@ -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,11 @@
|
||||||
|
node 'arm' {
|
||||||
|
stage('Checkout SCM') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage('Agent Setup') {
|
||||||
|
def name = sh \
|
||||||
|
script: 'sha256sum Containerfile',
|
||||||
|
returnStdout: true
|
||||||
|
sh "podman build -t ${name} -f Containerfile"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue