2016-10-17 18:24:46 +02:00
|
|
|
FROM alpine
|
2016-08-23 05:17:32 +02:00
|
|
|
|
2016-10-31 13:04:36 +01:00
|
|
|
RUN apk add --no-cache git ansible mysql-client curl openssh-client
|
2017-02-22 22:58:45 +01:00
|
|
|
RUN curl -L https://github.com/ansible-semaphore/semaphore/releases/download/v2.2.0/semaphore_linux_amd64 > /usr/bin/semaphore && chmod +x /usr/bin/semaphore && mkdir -p /etc/semaphore/playbooks
|
2016-08-23 05:17:32 +02:00
|
|
|
|
|
|
|
ADD semaphore-startup.sh /usr/bin/semaphore-startup.sh
|
|
|
|
RUN chmod +x /usr/bin/semaphore-startup.sh
|
|
|
|
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/usr/bin/semaphore-startup.sh"]
|
|
|
|
|
|
|
|
CMD ["/usr/bin/semaphore", "-config", "/etc/semaphore/semaphore_config.json"]
|