fix: return to alpine

This commit is contained in:
Araozu 2024-10-27 18:17:22 -05:00
parent 6530aaddd4
commit 59fe789726
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,5 @@
# Start with an Alpine base image
FROM debian:latest
RUN apt-get install -y ca-certificates
FROM alpine:3.20
# Create a directory for our application
WORKDIR /app

5
Jenkinsfile vendored
View File

@ -1,10 +1,13 @@
pipeline {
agent any
stages {
stage('Build templ files') {
sh 'docker run -v `pwd`:/app -w=/app ghcr.io/a-h/templ:latest generate'
}
stage('Build go binary') {
agent {
docker {
image 'golang:latest'
image 'golang:1.22-alpine3.20'
reuseNode true
}
}