Semaphore/Dockerfile

16 lines
567 B
Docker
Raw Normal View History

FROM alpine:3.5
2016-08-23 05:17:32 +02:00
ENV SEMAPHORE_VERSION="2.2.0" SEMAPHORE_ARCH="linux_amd64"
2016-08-23 05:17:32 +02:00
RUN apk add --no-cache git ansible mysql-client curl openssh-client && \
curl -sSfL "https://github.com/ansible-semaphore/semaphore/releases/download/v$SEMAPHORE_VERSION/semaphore_$SEMAPHORE_ARCH" > /usr/bin/semaphore && \
chmod +x /usr/bin/semaphore && mkdir -p /etc/semaphore/playbooks
2016-08-23 05:17:32 +02:00
EXPOSE 3000
ADD semaphore-startup.sh /usr/bin/semaphore-startup.sh
2016-08-23 05:17:32 +02:00
ENTRYPOINT ["/usr/bin/semaphore-startup.sh"]
CMD ["/usr/bin/semaphore", "-config", "/etc/semaphore/semaphore_config.json"]