Skip to content

Use multi-stage Docker builds - #211

Merged
emmercm merged 1 commit into
masterfrom
emmercm/multi-stage
Jul 12, 2026
Merged

Use multi-stage Docker builds#211
emmercm merged 1 commit into
masterfrom
emmercm/multi-stage

Conversation

@emmercm

@emmercm emmercm commented Jul 12, 2026

Copy link
Copy Markdown
Owner

No description provided.

@emmercm emmercm self-assigned this Jul 12, 2026
@emmercm
emmercm enabled auto-merge (squash) July 12, 2026 01:46
@emmercm
emmercm merged commit 2e70ace into master Jul 12, 2026
76 of 79 checks passed
@emmercm
emmercm deleted the emmercm/multi-stage branch July 12, 2026 15:50
Comment thread 0.16/Dockerfile
# https://git.alpinelinux.org/aports/tree/testing/libtorrent-rasterbar/APKBUILD

FROM alpine:3.7.3@sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10
FROM alpine:3.7.3@sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10 AS build

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FROM alpine:3.7.3@sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10 AS build
ARG BASE_IMAGE= alpine:3.7.3@sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10
FROM ${BASE_IMAGE} AS build

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I had the same thought, but I'm not sure if Renovate is smart enough to pick up on that for the automatic base image updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants