fix: re-add entrypoint

It is broken but we still want something like this...
This commit is contained in:
Jose Diaz-Gonzalez
2025-09-16 23:07:14 -04:00
parent 5e85038d9c
commit 9af8ec2acc
2 changed files with 11 additions and 0 deletions

View File

@@ -1,2 +1,7 @@
ARG APP_IMAGE
FROM $APP_IMAGE
RUN printf '#!/usr/bin/env bash\nset -x\nexec bash -l -c -- \"$*\"\n' > /usr/local/bin/entrypoint && \
chmod +x /usr/local/bin/entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint"]

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
echo "#!/usr/bin/env bash" > /tmp/cmd
echo "" >> /tmp/cmd
echo "$@" >> /tmp/cmd
exec bash "$@"