Sync with Private Repo

This commit is contained in:
Dave Conroy
2018-04-22 13:21:08 -07:00
parent 9792cdc8f3
commit b36151a1d3
4 changed files with 60 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
FROM tiredofit/alpine:edge
FROM registry.selfdesign.org/docker/alpine:edge
LABEL maintainer="Dave Conroy (dave at tiredofit dot ca)"
### Set Environment Variables
@@ -6,26 +6,44 @@ LABEL maintainer="Dave Conroy (dave at tiredofit dot ca)"
ENABLE_SMTP=FALSE
### Dependencies
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk update && \
apk add \
RUN set -ex ; \
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories ; \
apk update ; \
apk upgrade ; \
apk add --virtual .db-backup-build-deps \
build-base \
bzip2-dev \
git \
xz-dev \
; \
\
apk add --virtual .db-backup-run-deps \
bzip2 \
influxdb@testing \
mongodb-tools \
mysql-client \
postgresql \
postgresql-client \
mariadb-client \
openssl \
pigz \
postgresql \
postgresql-client \
redis \
xz \
&& \
rm -rf /var/cache/apk/*
xz \
; \
apk add \
influxdb@testing \
pixz@testing \
; \
\
cd /usr/src ; \
mkdir -p pbzip2 ; \
curl -ssL https://launchpad.net/pbzip2/1.1/1.1.13/+download/pbzip2-1.1.13.tar.gz | tar xvfz - --strip=1 -C /usr/src/pbzip2 ; \
cd pbzip2 ; \
make ; \
make install ; \
\
# Cleanup
rm -rf /usr/src/* ; \
apk del .db-backup-build-deps ; \
rm -rf /tmp/* /var/cache/apk/*
### S6 Setup
ADD install /
### Entrypoint Configuration
ENTRYPOINT ["/init"]
ADD install /