mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 06:15:56 +01:00
6bf40d5631
- fix make.sh
16 lines
574 B
Docker
16 lines
574 B
Docker
FROM alpine:3.5
|
|
|
|
ENV SEMAPHORE_VERSION="2.3.0" SEMAPHORE_ARCH="linux_amd64"
|
|
|
|
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
|
|
|
|
EXPOSE 3000
|
|
|
|
ADD ./scripts/docker-startup.sh /usr/bin/semaphore-startup.sh
|
|
|
|
ENTRYPOINT ["/usr/bin/semaphore-startup.sh"]
|
|
|
|
CMD ["/usr/bin/semaphore", "-config", "/etc/semaphore/semaphore_config.json"]
|