GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — updatecli/Dockerfile at main · luilegeant/updatecli

Expand file tree

/

Dockerfile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
48 lines (38 loc) · 1.79 KB
/

Dockerfile

Copy path

File metadata and controls

48 lines (38 loc) · 1.79 KB
Raw
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## Build final updatecli docker image
# We on purpose release artifacts created by goreleaser
# located in the dist directory
## Goreleaser requires the "--platform" to handle multi-platform builds
# hadolint ignore=DL3029
FROM --platform=${BUILDPLATFORM} debian:stable-slim
LABEL maintainer="Olivier Vernin <[email protected]>, Damien DUPORTAL <[email protected]>"
# Dynamic labels are defined from the goreleaser configuration ".goreleaser.yaml"
LABEL org.opencontainers.image.authors="Olivier Vernin<[email protected]>, Damien DUPORTAL <[email protected]>"
LABEL org.opencontainers.image.url="https://github.com/updatecli/updatecli/pkgs/container/updatecli"
LABEL org.opencontainers.image.documentation="https://www.updatecli.io/docs/prologue/introduction/"
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.title="Updatecli"
LABEL org.opencontainers.image.description="The gitops automation engine"
LABEL org.opencontainers.image.base.name="ghcr.io/updatecli/updatecli"
LABEL org.opencontainers.image.source https://github.com/updatecli/updatecli
# /tmp is used by updatecli to store git repository so it's better
# to define a volume
VOLUME /tmp
## The latest version of these "generic" package is always required
# hadolint ignore=DL3008
RUN apt-get update && \
apt-get install --yes --no-install-recommends \
ca-certificates \
curl \
tar \
unzip \
wget &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Available files only matched against the binaries generated by the builds section
# and packages generated by the nfpms section.
COPY updatecli /usr/local/bin/updatecli
RUN useradd -d /home/updatecli -U -u 1000 -m updatecli
USER updatecli
WORKDIR /home/updatecli
ENTRYPOINT [ "/usr/local/bin/updatecli" ]
CMD ["help"]
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.