mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 14:38:59 +00:00
feat(go): add git to image
This commit is contained in:
10 files changed
+10
-10
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
|
||||||
|
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata git \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
|||||||
Reference in new issue
Block a user