1
0
mirror of https://github.com/google/nomulus synced 2026-02-19 19:39:03 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Weimin Yu
e24c90fea6 Use bash in the Nomulus image (#2959)
/bin/bash comes with the base image, jetty:jdk-??.
Use it in start.sh for safe scripting.
2026-02-18 17:26:51 +00:00
2 changed files with 4 additions and 2 deletions

View File

@@ -14,4 +14,6 @@ RUN mkdir -p /opt/cprof && \
USER jetty
EXPOSE 8080
ENTRYPOINT ["/bin/sh", "/start.sh"]
# jetty:12-jdk21 has bash. We can afford the extra 200M in image size over
# the -alpine flavor.
ENTRYPOINT ["/bin/bash", "/start.sh"]

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2024 The Nomulus Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");