We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b933b commit 5d7bc7eCopy full SHA for 5d7bc7e
1 file changed
app/controlplane/Dockerfile.migrations
@@ -1,7 +1,14 @@
1
# Container image built by go-releaser that's used to run migrations against the database during deployment
2
# See https://atlasgo.io/guides/deploying/image
3
-FROM arigaio/atlas@sha256:5c459e8c134bb3d6d4f0346bbe6aa32ab23b7726286c4f23e7d831557574ed0d
+FROM arigaio/atlas@sha256:5c459e8c134bb3d6d4f0346bbe6aa32ab23b7726286c4f23e7d831557574ed0d as base
4
5
+FROM scratch
6
+# Update permissions to make it readable by the user
7
+# Otherwise the permissions are 001 which is not compatible with openshift in the default configuration
8
+# https://github.com/chainloop-dev/chainloop/issues/922
9
+COPY --from=base --chmod=555 /atlas /
10
COPY app/controlplane/pkg/data/ent/migrate/migrations /migrations
11
12
USER 1001
13
+
14
+ENTRYPOINT ["/atlas"]
0 commit comments