forked from LREN-CHUV/woken-db-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (29 loc) · 1.04 KB
/
Dockerfile
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
27
28
29
30
31
32
33
34
FROM hbpmip/flyway:5.2.4-0
ENV FLYWAY_DBMS=postgresql \
FLYWAY_HOST=db \
FLYWAY_PORT=5432 \
FLYWAY_DATABASE_NAME=woken \
FLYWAY_SCHEMAS=public
COPY sql/V1_0__create.sql \
sql/V1_1__big_error_and_params.sql \
sql/V1_2__multiple_results.sql \
sql/V1_3__gen_features_table_seq.sql \
sql/V1_4__cache.sql \
/flyway/sql/
WORKDIR /flyway
CMD ["migrate"]
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="hbpmip/woken-db-setup" \
org.label-schema.description="Woken database setup" \
org.label-schema.url="https://github.com/LREN-CHUV/woken-db-setup" \
org.label-schema.vcs-type="git" \
org.label-schema.vcs-url="https://github.com/LREN-CHUV/woken-db-setup" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.version="$VERSION" \
org.label-schema.vendor="LREN CHUV" \
org.label-schema.license="Apache2.0" \
org.label-schema.docker.dockerfile="Dockerfile" \
org.label-schema.schema-version="1.0"