feat(go): add git to image

This commit is contained in:
darksaid98 committed 2024-12-31 02:09:27 +01:00
1 parent e9b0f801e2
commit f14de68cf9
10 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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