aboutsummaryrefslogblamecommitdiff
path: root/roles/git/files/runner-mirror/Dockerfile
blob: 112548acace95fc16c340b354f22e30e03d62ea9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                         
FROM alpine:latest

RUN apk add --update-cache --upgrade --no-cache --purge \
      git openssh-client tzdata                         \
    && rm -rf /var/cache/apk

ENV TZ=Europe/Berlin
WORKDIR /tmp

# Copy ssh config.
COPY config /root/.ssh/config

COPY mirror.sh /
COPY periodic.sh /
ENTRYPOINT ["/periodic.sh"]