summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 92b33cf8f820cda6a633453dd77a5de4c21dc7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM alpine:latest

RUN apk add --no-cache \
        bash \
        coreutils \
        findutils \
        gawk \
        grep \
        imagemagick \
        rsync \
        sed \
        tar

RUN install -d /etc/default /usr/share/shuriken

COPY bin/shuriken /usr/bin/shuriken
COPY share/templates /usr/share/shuriken/templates
COPY assets/site /usr/share/shuriken/assets
COPY src/shuriken.default.conf /etc/default/shuriken

RUN chmod 0755 /usr/bin/shuriken

WORKDIR /work
VOLUME ["/work"]
ENTRYPOINT ["shuriken"]
CMD ["--generate"]