Skip to content

Commit

Permalink
Merge pull request mesosphere-backup#6 from milenkovicm/update_script…
Browse files Browse the repository at this point in the history
…_and_image

Update container, libraries and wrapper
  • Loading branch information
ssk2 authored Jun 10, 2016
2 parents ff46ab6 + c84230b commit 0d44542
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM docker:1.11-dind
FROM docker:1.11.2-dind

MAINTAINER Mesosphere Support <support+jenkins-dind@mesosphere.com>

# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV ALPINE_EDGE_COMMUNITY_REPO=http://dl-cdn.alpinelinux.org/alpine/edge/community \
ALPINE_GLIBC_BASE_URL=https://github.com/andyshinn/alpine-pkg-glibc/releases/download/unreleased \
ALPINE_GLIBC_PACKAGE=glibc-2.23-r1.apk \
ALPINE_GLIBC_BIN_PACKAGE=glibc-bin-2.23-r1.apk \
ALPINE_GLIBC_I18N_PACKAGE=glibc-i18n-2.23-r1.apk \
ANDY_SHINN_RSA_PUB_URL=https://raw.githubusercontent.com/andyshinn/alpine-pkg-glibc/master/andyshinn.rsa.pub \
ALPINE_GLIBC_BASE_URL=https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r2 \
ALPINE_GLIBC_PACKAGE=glibc-2.23-r2.apk \
ALPINE_GLIBC_BIN_PACKAGE=glibc-bin-2.23-r2.apk \
ALPINE_GLIBC_I18N_PACKAGE=glibc-i18n-2.23-r2.apk \
ALPINE_GLIBC_RSA_PUB_URL=https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r2/sgerrand.rsa.pub \
JAVA_HOME=/usr/lib/jvm/default-jvm \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
Expand Down Expand Up @@ -39,8 +39,12 @@ RUN apk --update add \
tar \
unzip \
&& cd /tmp \
&& pip install --upgrade \
pip \
setuptools \
virtualenv \
&& apk add --update --repository ${ALPINE_EDGE_COMMUNITY_REPO} tini \
&& wget -q -O /etc/apk/keys/andyshinn.rsa.pub "${ANDY_SHINN_RSA_PUB_URL}" \
&& wget -q -O /etc/apk/keys/sgerrand.rsa.pub "${ALPINE_GLIBC_RSA_PUB_URL}" \
&& wget -q "${ALPINE_GLIBC_BASE_URL}/${ALPINE_GLIBC_PACKAGE}" \
"${ALPINE_GLIBC_BASE_URL}/${ALPINE_GLIBC_BIN_PACKAGE}" \
"${ALPINE_GLIBC_BASE_URL}/${ALPINE_GLIBC_I18N_PACKAGE}" \
Expand Down
2 changes: 1 addition & 1 deletion wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

echo "==> Launching the Docker daemon..."
dind docker daemon --host=unix:///var/run/docker.sock --storage-driver=overlay &
dind docker daemon --host=unix:///var/run/docker.sock --storage-driver=overlay $DOCKER_EXTRA_OPTS &

while(! docker info > /dev/null 2>&1); do
echo "==> Waiting for the Docker daemon to come online..."
Expand Down

0 comments on commit 0d44542

Please sign in to comment.