diff --git a/base/alpine/README.md b/base/alpine/README.md index b422138..30f4a88 100644 --- a/base/alpine/README.md +++ b/base/alpine/README.md @@ -1,13 +1,3 @@ # `xena/alpine` This is a cut of Alpine Linux Edge with `runit(8)` for process supervision and zombie management. I use this for my projects when I can because it doesn't suck as much. Just do this like you would with Phusion's base image and everything will be fine. - -This also includes the [`backplane`](https://www.backplane.io) agent to make deployment easier. Usage: - -```console -$ docker run \ - -e BACKPLANE_TOKEN= \ - -e BACKPLANE_LABELS='hello:world' \ - -e BACKPLANE_PROXY_URL=https://127.0.0.1:9090 \ - xena/alpine -``` diff --git a/base/alpine/box.rb b/base/alpine/box.rb index 488e7e2..fab7a0a 100644 --- a/base/alpine/box.rb +++ b/base/alpine/box.rb @@ -10,14 +10,6 @@ run "apk add --no-cache --virtual xe-alpine-base tini ca-certificates runit libc # if libtinfo.so.5 is used, install ncurses5-libs via apk run "ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5" -env "BACKPLANE_AGENT_VERSION" => "1.4.0" -run %q[ apk add -U --no-cache wget ca-certificates \ - && wget https://bin.equinox.io/c/jWahGASjoRq/backplane-stable-linux-amd64.tgz \ - && tar xf backplane-stable-linux-amd64.tgz \ - && mv backplane /usr/bin/backplane \ - && rm backplane-stable-linux-amd64.tgz \ - && apk del wget ] - run %q[ apk add -U --no-cache wget \ && wget https://xena.greedo.xeserv.us/pkg/alpine/edge/core/x86_64/xeserv-keys-1.3-r0.apk \ && apk add --allow-untrusted ./xeserv-keys-1.3-r0.apk \ diff --git a/base/alpine/runit/backplane/run b/base/alpine/runit/backplane/run deleted file mode 100755 index 0394912..0000000 --- a/base/alpine/runit/backplane/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if [ -n "$BACKPLANE_TOKEN" ] -then - /usr/bin/backplane connect -else - sleep 999d -fi