fixed hadolint issues

pull/100/head
Alan Young 3 years ago
parent 6fee35b1b9
commit 7ff8d90bf5

@ -1,10 +1,11 @@
FROM alpine:3.1 FROM alpine:3.1
RUN apk add --update bash git inotify-tools openssh && rm -rf /var/cache/apk/* # hadolint ignore=DL3018
RUN apk add --no-cache bash git inotify-tools openssh
RUN mkdir -p /app RUN mkdir -p /app
WORKDIR /app WORKDIR /app
ADD gitwatch.sh ./ COPY gitwatch.sh ./
RUN chmod 755 *.sh RUN chmod 755 -- *.sh
ENTRYPOINT ["./gitwatch.sh"] ENTRYPOINT ["./gitwatch.sh"]

Loading…
Cancel
Save