1
0
mirror of https://github.com/google/nomulus synced 2026-05-22 07:41:50 +00:00

Use bash in the Nomulus image (#2959)

/bin/bash comes with the base image, jetty:jdk-??.
Use it in start.sh for safe scripting.
This commit is contained in:
Weimin Yu
2026-02-18 17:26:51 +00:00
committed by GitHub
parent 8ff4d7dc8a
commit e24c90fea6
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");