forked from pelican-eggs/yolks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
46 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.21-alpine | ||
|
||
LABEL author="EgoMaw" maintainer="[email protected]" | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/egomaw/yolks" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
RUN apk add --update --no-cache ca-certificates tzdata gettext \ | ||
&& adduser -D -h /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/ash", "/entrypoint.sh" ] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH node:16-slim | ||
|
||
FROM --platform=$TARGETOS/$TARGETARCH node:20-slim | ||
LABEL author="EgoMaw" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt-get --no-install-recommends -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping gettext-base \ | ||
RUN apt-get update \ | ||
&& apt-get -y --no-install-recommends install gettext-base ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \ | ||
&& useradd -m -d /home/container container | ||
|
||
RUN corepack prepare pnpm@latest npm@latest yarn@stable --activate && corepack enable | ||
RUN corepack prepare pnpm@latest npm@latest yarn@stable && corepack enable | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH node:21-slim | ||
LABEL author="EgoMaw" maintainer="[email protected]" | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y --no-install-recommends install gettext-base ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \ | ||
&& useradd -m -d /home/container container | ||
|
||
RUN corepack prepare pnpm@latest npm@latest yarn@stable && corepack enable | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |