Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

[production] Disable package validation in runtime #758

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Here the version of the registry is specified this storage branch uses.
# It should always be a specific version to make sure builds are reproducible.
ARG PACKAGE_REGISTRY=v0.15.0
ARG PACKAGE_REGISTRY=v0.16.0
FROM docker.elastic.co/package-registry/package-registry:${PACKAGE_REGISTRY}

LABEL package-registry=${PACKAGE_REGISTRY}
Expand All @@ -11,3 +11,6 @@ COPY packages /packages/production

# Sanity check on the packages. If packages are not valid, container does not even build.
RUN ./package-registry -dry-run

# Override CMD to disable package validation (already done).
CMD ["--address=0.0.0.0:8080", "-disable-package-validation"]