make 3.5 default
This commit is contained in:
parent
0e8aadb2e4
commit
d3242b104c
54
Dockerfile
54
Dockerfile
|
|
@ -1,54 +0,0 @@
|
||||||
FROM alpine:3.4
|
|
||||||
MAINTAINER sparklyballs
|
|
||||||
|
|
||||||
# set version for s6 overlay
|
|
||||||
ARG OVERLAY_VERSION="v1.19.1.1"
|
|
||||||
ARG OVERLAY_ARCH="amd64"
|
|
||||||
|
|
||||||
# environment variables
|
|
||||||
ENV PS1="$(whoami)@$(hostname):$(pwd)$ " \
|
|
||||||
HOME="/root" \
|
|
||||||
TERM="xterm"
|
|
||||||
|
|
||||||
# install packages
|
|
||||||
RUN \
|
|
||||||
apk add --no-cache --virtual=build-dependencies \
|
|
||||||
curl \
|
|
||||||
tar && \
|
|
||||||
apk add --no-cache \
|
|
||||||
bash \
|
|
||||||
ca-certificates \
|
|
||||||
coreutils \
|
|
||||||
tzdata && \
|
|
||||||
apk add --no-cache \
|
|
||||||
--repository http://nl.alpinelinux.org/alpine/edge/community \
|
|
||||||
shadow && \
|
|
||||||
|
|
||||||
# add s6 overlay
|
|
||||||
curl -o \
|
|
||||||
/tmp/s6-overlay.tar.gz -L \
|
|
||||||
"https://github.com/just-containers/s6-overlay/releases/download/${OVERLAY_VERSION}/s6-overlay-${OVERLAY_ARCH}.tar.gz" && \
|
|
||||||
tar xfz \
|
|
||||||
/tmp/s6-overlay.tar.gz -C / && \
|
|
||||||
|
|
||||||
# create abc user
|
|
||||||
groupmod -g 1000 users && \
|
|
||||||
useradd -u 911 -U -d /config -s /bin/false abc && \
|
|
||||||
usermod -G users abc && \
|
|
||||||
|
|
||||||
# make our folders
|
|
||||||
mkdir -p \
|
|
||||||
/app \
|
|
||||||
/config \
|
|
||||||
/defaults && \
|
|
||||||
|
|
||||||
# clean up
|
|
||||||
apk del --purge \
|
|
||||||
build-dependencies && \
|
|
||||||
rm -rf \
|
|
||||||
/tmp/*
|
|
||||||
|
|
||||||
# add local files
|
|
||||||
COPY root/ /
|
|
||||||
|
|
||||||
ENTRYPOINT ["/init"]
|
|
||||||
18
README.md
18
README.md
|
|
@ -1,18 +0,0 @@
|
||||||
[linuxserverurl]: https://linuxserver.io
|
|
||||||
[forumurl]: https://forum.linuxserver.io
|
|
||||||
[ircurl]: https://www.linuxserver.io/irc/
|
|
||||||
[podcasturl]: https://www.linuxserver.io/podcast/
|
|
||||||
|
|
||||||
[][linuxserverurl]
|
|
||||||
|
|
||||||
[Dockerfile](https://github.com/linuxserver/docker-baseimage-alpine/blob/master/Dockerfile)
|
|
||||||
|
|
||||||
[](https://microbadger.com/images/lsiobase/alpine "Get your own image badge on microbadger.com")[](http://jenkins.linuxserver.io:8080/job/Dockers/job/BaseImages/job/lsiobase-alpine/)
|
|
||||||
|
|
||||||
### This base container is not aimed at public consumption. It exists to serve as a single endpoint for LinuxServer.io containers and is based upon [Alpine Linux](https://hub.docker.com/_/alpine/) and [S6 overlay](https://github.com/just-containers/s6-overlay).
|
|
||||||
|
|
||||||
If you want to comment\contribute to this image, are looking for support on any of our other work , or are curious about us in general, check out the following.
|
|
||||||
|
|
||||||
* [forum.linuxserver.io][forumurl]
|
|
||||||
* [IRC][ircurl] on freenode at `#linuxserver.io`
|
|
||||||
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
|
|
||||||
1
docker-baseimage-alpine-original
Submodule
1
docker-baseimage-alpine-original
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b449725720922b2fcadcf19012d3e69cc63f86df
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
#!/usr/bin/with-contenv bash
|
|
||||||
|
|
||||||
PUID=${PUID:-911}
|
|
||||||
PGID=${PGID:-911}
|
|
||||||
|
|
||||||
groupmod -o -g "$PGID" abc
|
|
||||||
usermod -o -u "$PUID" abc
|
|
||||||
|
|
||||||
echo "
|
|
||||||
-------------------------------------
|
|
||||||
_ _ _
|
|
||||||
| |___| (_) ___
|
|
||||||
| / __| | |/ _ \
|
|
||||||
| \__ \ | | (_) |
|
|
||||||
|_|___/ |_|\___/
|
|
||||||
|_|
|
|
||||||
|
|
||||||
Brought to you by linuxserver.io
|
|
||||||
We gratefully accept donations at:
|
|
||||||
https://www.linuxserver.io/donations/
|
|
||||||
-------------------------------------
|
|
||||||
GID/UID
|
|
||||||
-------------------------------------
|
|
||||||
User uid: $(id -u abc)
|
|
||||||
User gid: $(id -g abc)
|
|
||||||
-------------------------------------
|
|
||||||
"
|
|
||||||
chown abc:abc /app
|
|
||||||
chown abc:abc /config
|
|
||||||
chown abc:abc /defaults
|
|
||||||
Loading…
Reference in a new issue