chore: add entrypoint.sh script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* source bashrc with entrypoint script since many a times it's possible a non-interactive shell is spun up and asdf+gradle niceties just wouldn't get loaded
This commit is contained in:
parent
0dbe7e44a1
commit
c736ecb202
@ -87,4 +87,8 @@ RUN rm -rf /opt/jre/lib/plugin.jar \
|
||||
/opt/jre/lib/amd64/libjavafx*.so \
|
||||
/opt/jre/lib/amd64/libjfx*.so &&\
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
WORKDIR /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
3
entrypoint.sh
Normal file
3
entrypoint.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. /root/.bashrc
|
||||
exec "$@"
|
Loading…
Reference in New Issue
Block a user