diff --git a/Dockerfile b/Dockerfile deleted file mode 100755 index e962397..0000000 --- a/Dockerfile +++ /dev/null @@ -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"] diff --git a/README.md b/README.md deleted file mode 100644 index 703647f..0000000 --- a/README.md +++ /dev/null @@ -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/ - -[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl] - -[Dockerfile](https://github.com/linuxserver/docker-baseimage-alpine/blob/master/Dockerfile) - -[![](https://images.microbadger.com/badges/image/lsiobase/alpine.svg)](https://microbadger.com/images/lsiobase/alpine "Get your own image badge on microbadger.com")[![Build Status](http://jenkins.linuxserver.io:8080/job/Dockers/job/BaseImages/job/lsiobase-alpine/badge/icon)](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! diff --git a/docker-baseimage-alpine-original b/docker-baseimage-alpine-original new file mode 160000 index 0000000..b449725 --- /dev/null +++ b/docker-baseimage-alpine-original @@ -0,0 +1 @@ +Subproject commit b449725720922b2fcadcf19012d3e69cc63f86df diff --git a/root/etc/cont-init.d/10-adduser b/root/etc/cont-init.d/10-adduser deleted file mode 100644 index 912c86c..0000000 --- a/root/etc/cont-init.d/10-adduser +++ /dev/null @@ -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