Skip to content

Commit fa517fb

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add a command to trigger entrypoint cache creation"
2 parents 9fb68ec + 5c4eb0b commit fa517fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ FROM docker.io/opendevorg/python-base:3.7
2323
COPY --from=builder /output/ /output
2424
RUN /output/install-from-bindep
2525

26+
# Trigger entrypoint loading to trigger stevedore entrypoint caching
27+
RUN openstack --help >/dev/null 2>&1
28+
2629
CMD ["/usr/local/bin/openstack"]

0 commit comments

Comments
 (0)