FROM alpine:latest RUN apk add --update --no-cache tar RUN mkdir -p /backup/dest COPY ./extract.sh /usr/bin/extract RUN chmod +x /usr/bin/extract CMD ["restore"]