DBFileSyncInitContainer/Dockerfile

21 lines
633 B
Docker

FROM alpine:3.20.0
WORKDIR /app
COPY utilities /app/utilities/
COPY entrypoint.sh /app/docker-entrypoint.sh
COPY setenv_tmp /app/setenv_tmp
COPY logout_tmp.html /app/logout_tmp.html
COPY IdpMessageReceiverServlet.class /app/utilities/IdpMessageReceiverServlet.class
RUN apk add --no-cache bash
RUN ["chmod", "+x", "/app/docker-entrypoint.sh"]
RUN ["chmod", "+x", "/app/utilities/DBFileSync.sh"]
RUN ["chmod", "+x", "/app/utilities/DBFileSync.jar"]
RUN ["chmod", "+x", "/app/utilities/DBFileSyncTimer.txt"]
RUN ["chmod", "+x", "/app/utilities/IdpMessageReceiverServlet.class"]
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["sh"]