Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Revert "Install container pilot on image-server"
Browse files Browse the repository at this point in the history
This reverts commit b95b7d0.
  • Loading branch information
James Hart and Julian Fahrer committed Sep 7, 2017
1 parent aa01bef commit e688aee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
20 changes: 2 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,10 @@ RUN mkdir -p $app
WORKDIR $app

RUN apk update
RUN apk add imagemagick curl vim
RUN apk add imagemagick curl
RUN curl -o $app/images http://us-east.manta.joyent.com/wanelo/public/images/bin/images-linux-1.13.11 && chmod +x $app/images

# Add Containerpilot and set its configuration
ENV CONTAINERPILOT_VERSION 2.7.0
ENV CONTAINERPILOT file:///etc/containerpilot.json

RUN export CONTAINERPILOT_CHECKSUM=687f7d83e031be7f497ffa94b234251270aee75b \
&& export archive=containerpilot-${CONTAINERPILOT_VERSION}.tar.gz \
&& curl -Lso /tmp/${archive} \
"https://github.com/joyent/containerpilot/releases/download/${CONTAINERPILOT_VERSION}/${archive}" \
&& echo "${CONTAINERPILOT_CHECKSUM} /tmp/${archive}" | sha1sum -c \
&& tar zxf /tmp/${archive} -C /usr/local/bin \
&& rm /tmp/${archive}

# configuration files and bootstrap scripts
COPY etc/containerpilot.json /etc/
COPY bin/health.sh /usr/local/bin/health.sh

CMD /usr/local/bin/containerpilot $app/images --outputs='' --listen 0.0.0.0 server
CMD $app/images --outputs='' --listen 0.0.0.0 server

EXPOSE 7000 7002

3 changes: 0 additions & 3 deletions bin/health.sh

This file was deleted.

14 changes: 0 additions & 14 deletions etc/containerpilot.json

This file was deleted.

0 comments on commit e688aee

Please sign in to comment.