Skip to content

Commit 5ef4e98

Browse files
authored
chore: adjust neobackstop docker build
2 parents 2c1a58e + c94508a commit 5ef4e98

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.19.1] - 2026-02-02
9+
10+
### Changed
11+
- Adjusted docker build stages
12+
813
## [0.19.0] - 2025-12-16
914

1015
### Changed
@@ -125,6 +130,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
125130
### Added
126131
- Initial release
127132

133+
[0.19.1]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.19.0...v0.19.1
128134
[0.19.0]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.18.0...v0.19.0
129135
[0.18.0]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.17.0...v0.18.0
130136
[0.17.0]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.16.0...v0.17.0

Dockerfile

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Stage 0: Build the base go system with playwright drivers
2+
FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/pullthrough/docker.io/library/golang:1.25.4-bookworm AS basesystem
3+
WORKDIR /
4+
5+
# Install CA certs & dependencies
6+
RUN apt-get update && apt-get install -y \
7+
ca-certificates \
8+
curl \
9+
gnupg \
10+
&& update-ca-certificates && \
11+
rm -rf /var/lib/apt/lists/*
12+
13+
# Install Playwright drivers
14+
RUN GOOS=linux GOARCH=${TARGETARCH} go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps chromium firefox
15+
116
# Stage 1: Build the Go app
217
FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/pullthrough/docker.io/library/golang:1.25.4-bookworm AS builder
318
WORKDIR /app
@@ -19,20 +34,7 @@ RUN CGO_ENABLED=0 \
1934
go build -o bin .
2035

2136
# Stage 2: Run the app
22-
FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/pullthrough/docker.io/library/golang:1.25.4-bookworm
23-
WORKDIR /
24-
25-
# Install CA certs & dependencies
26-
RUN apt-get update && apt-get install -y \
27-
ca-certificates \
28-
curl \
29-
gnupg \
30-
&& update-ca-certificates && \
31-
rm -rf /var/lib/apt/lists/*
32-
33-
# Install Playwright drivers
34-
RUN GOOS=linux GOARCH=${TARGETARCH} go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps chromium firefox
35-
37+
FROM basesystem
3638
# Copy the built Go app binary and the html_report_assets which are needed at runtime
3739
RUN mkdir -p /usr/neobackstop/app
3840
COPY --from=builder /app/bin /usr/neobackstop/app/bin

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.19.0
1+
0.19.1

0 commit comments

Comments
 (0)