Skip to content

Commit d68f6b0

Browse files
committed
Switch to alpine for faster builds
1 parent 0de435f commit d68f6b0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dockerbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 10
1414
services:
1515
postgres:
16-
image: postgres:18
16+
image: postgres:18-alpine
1717
env:
1818
POSTGRES_PASSWORD: postgres
1919
options: >-

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.26-trixie AS builder
1+
FROM golang:1.26-alpine AS builder
22

33
WORKDIR /app
44

@@ -8,7 +8,7 @@ RUN go mod download
88
COPY . .
99
RUN go build -o /pyazo ./cmd/
1010

11-
FROM debian:trixie-slim
11+
FROM alpine:3.23
1212

1313
EXPOSE 8000
1414

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
db:
3-
image: postgres:18
3+
image: postgres:18-alpine
44
environment:
55
POSTGRES_USER: postgres
66
POSTGRES_PASSWORD: postgres

0 commit comments

Comments
 (0)