mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
8 lines
363 B
Docker
8 lines
363 B
Docker
FROM node:17.4-slim
|
|
RUN bash -c "apt update -y && apt install git -y && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp"
|
|
RUN yarn global remove gancio || true
|
|
RUN yarn cache clean
|
|
RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz
|
|
ADD entrypoint.sh /
|
|
RUN chmod 755 /entrypoint.sh
|
|
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
|