Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
23 lines (15 loc) · 732 Bytes

File metadata and controls

23 lines (15 loc) · 732 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM golang:1.19 AS builder
ENV CGO_ENABLED=0
WORKDIR /build
COPY . /build
# SINKER_VERSION is set during the release process
ARG SINKER_VERSION=0.0.0
RUN go build -tags 'containers_image_openpgp' -ldflags="-X 'github.com/plexsystems/sinker/internal/commands.sinkerVersion=${SINKER_VERSION}'"
FROM alpine:3.14.6
RUN apk update && apk add --no-cache docker-cli
COPY --from=builder /build/sinker /usr/bin/
LABEL org.opencontainers.image.source="https://github.com/plexsystems/sinker"
LABEL org.opencontainers.image.title="sinker"
LABEL org.opencontainers.image.authors="John Reese <john@reese.dev>"
LABEL org.opencontainers.image.description="Sync container images from one registry to another"
ENTRYPOINT ["/usr/bin/sinker"]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.