install git in Dockerfile, fix #148

This commit is contained in:
lesion
2022-04-22 23:04:21 +02:00
parent 5127deb56a
commit a102b11cc1

View File

@@ -1,4 +1,5 @@
FROM node:17.4-slim 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 global remove gancio || true
RUN yarn cache clean RUN yarn cache clean
RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz