mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
use common image for dev
This commit is contained in:
parent
20d05ca258
commit
73e70b19d6
@ -40,6 +40,7 @@ RUN echo 'export PATH=$PATH:/usr/local/go/bin' >> /root/.bashrc
|
|||||||
RUN echo "set expandtab\nset tabstop=2\nset softtabstop=2\nset shiftwidth=2\nset encoding=utf-8\nset fileencoding=utf-8\n" > /root/.vimrc
|
RUN echo "set expandtab\nset tabstop=2\nset softtabstop=2\nset shiftwidth=2\nset encoding=utf-8\nset fileencoding=utf-8\n" > /root/.vimrc
|
||||||
RUN echo "bind 'set mark-symlinked-directories on'" >> /root/.bashrc
|
RUN echo "bind 'set mark-symlinked-directories on'" >> /root/.bashrc
|
||||||
|
|
||||||
|
ADD dev_setup.sh /app
|
||||||
ADD entrypoint.sh /app
|
ADD entrypoint.sh /app
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
@ -13,6 +13,7 @@ if [[ -v ADMIN ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEV" == "1" ]; then
|
if [ "$DEV" == "1" ]; then
|
||||||
|
/app/dev_setup.sh || true
|
||||||
while true; do
|
while true; do
|
||||||
sleep 1;
|
sleep 1;
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user