-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
7 changed files
with
11 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,12 @@ LABEL maintainer="LanCache.Net Team <[email protected]>" | |
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG ARCH="amd64" | ||
ARG OVERLAY_VERSION="v2.2.0.3" | ||
ARG ARCH_ALT="x86_64" | ||
ARG OVERLAY_VERSION="3.2.0.0" | ||
|
||
ENV \ | ||
S6_BEHAVIOUR_IF_STAGE2_FAILS=2 \ | ||
S6_VERBOSITY=1 \ | ||
LC_ALL=en_GB.UTF-8 \ | ||
LANG=en_GB.UTF-8 \ | ||
LANGUAGE=en_GB.UTF-8 \ | ||
|
@@ -16,12 +18,14 @@ COPY overlay/ / | |
|
||
RUN \ | ||
apt-get -y update && apt-get -y upgrade && \ | ||
apt-get -y install curl wget bzip2 locales tzdata --no-install-recommends && \ | ||
apt-get -y install ca-certificates curl locales tzdata wget xz-utils --no-install-recommends && \ | ||
locale-gen en_GB.utf8 && \ | ||
update-locale LANG=en_GB.utf8 \ | ||
cd /tmp && \ | ||
curl -sSfL -o s6-overlay.tar.gz "https://github.com/just-containers/s6-overlay/releases/download/${OVERLAY_VERSION}/s6-overlay-${ARCH}.tar.gz" && \ | ||
tar xfz s6-overlay.tar.gz -C / && \ | ||
curl -sSfL -o s6-overlay-noarch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" && \ | ||
curl -sSfL -o s6-overlay.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${OVERLAY_VERSION}/s6-overlay-${ARCH_ALT}.tar.xz" && \ | ||
tar -C / -Jpxf s6-overlay-noarch.tar.xz && \ | ||
tar -C / -Jpxf s6-overlay.tar.xz && \ | ||
apt-get -y clean && \ | ||
rm -rf /tmp/* /var/lib/apt/lists/* | ||
|
||
|
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,6 +1,4 @@ | ||
package: | ||
bzip2: | ||
installed: true | ||
curl: | ||
installed: true | ||
wget: | ||
|
Empty file.
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 @@ | ||
oneshot |
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 @@ | ||
/etc/s6-overlay/scripts/asciilogo |
Empty file.
2 changes: 1 addition & 1 deletion
2
overlay/etc/cont-init.d/00-asciilogo → overlay/etc/s6-overlay/scripts/asciilogo
100644 → 100755
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,4 +1,4 @@ | ||
#!/usr/bin/with-contenv bash | ||
#!/command/with-contenv bash | ||
|
||
cat <<EOF | ||
_ _____ _ _ | ||
|