fix: return to alpine
This commit is contained in:
parent
6530aaddd4
commit
59fe789726
@ -1,7 +1,5 @@
|
|||||||
# Start with an Alpine base image
|
# Start with an Alpine base image
|
||||||
FROM debian:latest
|
FROM alpine:3.20
|
||||||
|
|
||||||
RUN apt-get install -y ca-certificates
|
|
||||||
|
|
||||||
# Create a directory for our application
|
# Create a directory for our application
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,10 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
stage('Build templ files') {
|
||||||
|
sh 'docker run -v `pwd`:/app -w=/app ghcr.io/a-h/templ:latest generate'
|
||||||
|
}
|
||||||
stage('Build go binary') {
|
stage('Build go binary') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'golang:latest'
|
image 'golang:1.22-alpine3.20'
|
||||||
reuseNode true
|
reuseNode true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user