-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Here's a prototype dockerfile with the CLI and Postgres; feel free to adapt it however you want.
FROM archlinux:latest AS postgres
RUN curl https://jdbc.postgresql.org/download/postgresql-42.7.7.jar --output /opt/postgres.jar
FROM archlinux:latest AS datamaintain
WORKDIR /opt
RUN curl -L https://github.com/4sh/datamaintain/releases/download/2.1.0/cli-2.1.0.tar --output - | tar -xvf - && \
mv cli-* cli && \
mv cli/bin/cli cli/bin/datamaintain
FROM archlinux:latest
RUN pacman -Syuu --noconfirm jdk-openjdk
ENV JAVA_HOME=/usr/lib/jvm/default-runtime \
PATH="$PATH:/opt/datamaintain/bin"
COPY --from=datamaintain /opt/cli /opt/datamaintain
COPY --from=postgres /opt/postgres.jar /opt/datamaintain/lib/drivers/postgres.jar
WORKDIR /configReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels