You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/docker/kratos_image/Dockerfile
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,6 @@ RUN git clone --depth 1 https://github.com/ory/kratos.git
31
31
WORKDIR /src/kratos
32
32
RUN git fetch --tags && git checkout $KRATOS_VERSION
33
33
34
-
# The hydra and kratos migrations attempt to create the same table.
35
-
# Kratos's migration only creates the table while hydra's migration creates the table
36
-
# and inserts a row. Therefore, we replace kratos's problematic version with empty placeholders
37
-
# to avoid a conflict. Removing the problematic migration file prior to module initialization and
38
-
# compilation did not work.
39
-
RUN for file in persistence/sql/migrations/sql/20150100000001000000_networks.*.sql; do echo "-- Migration disabled to avoid conflict with hydra" > "$file"; done
40
-
41
34
ENV GO111MODULE=on
42
35
# kratos and hydra require CGO if sqlite is used, but we exclusively use postgres
0 commit comments