17 lines
292 B
Docker
17 lines
292 B
Docker
ARG DOCKER_BASEIMAGE
|
|
FROM ${DOCKER_BASEIMAGE}
|
|
|
|
ARG DOCKER_MAINTAINER
|
|
LABEL maintainer="${DOCKER_MAINTAINER}"
|
|
|
|
COPY assets/build /build
|
|
WORKDIR /build
|
|
RUN chmod +x *.sh && \
|
|
./install.sh
|
|
|
|
COPY assets/ /
|
|
WORKDIR /usr/local/sbin
|
|
RUN chmod +x *.sh
|
|
|
|
ENTRYPOINT [ "/usr/local/sbin/backup.sh" ]
|