base/alpine: remove backplane agent from default install set
This commit is contained in:
parent
2c97fd976f
commit
9ec4f5def0
|
@ -1,13 +1,3 @@
|
||||||
# `xena/alpine`
|
# `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 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=<token> \
|
|
||||||
-e BACKPLANE_LABELS='hello:world' \
|
|
||||||
-e BACKPLANE_PROXY_URL=https://127.0.0.1:9090 \
|
|
||||||
xena/alpine
|
|
||||||
```
|
|
||||||
|
|
|
@ -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
|
# if libtinfo.so.5 is used, install ncurses5-libs via apk
|
||||||
run "ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5"
|
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 \
|
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 \
|
&& 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 \
|
&& apk add --allow-untrusted ./xeserv-keys-1.3-r0.apk \
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if [ -n "$BACKPLANE_TOKEN" ]
|
|
||||||
then
|
|
||||||
/usr/bin/backplane connect
|
|
||||||
else
|
|
||||||
sleep 999d
|
|
||||||
fi
|
|
Loading…
Reference in New Issue