mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-22 05:23:07 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile
This commit is contained in:
parent
39c898a8f8
commit
bb5046afc6
@ -78,13 +78,13 @@ COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
|||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
$SHELL_OPTS; \
|
$SHELL_OPTS; \
|
||||||
|
mkdir -p "${DEFAULT_DATA_DIR}" "${DEFAULT_CONF_DIR}" "${DEFAULT_TEMPLATE_DIR}" "/root/docker/setup" "/etc/profile.d"; \
|
||||||
if [ -f "/root/docker/setup/00-init.sh" ];then echo "Running the init script";bash "/root/docker/setup/00-init.sh";echo "Done running the init script";fi; \
|
if [ -f "/root/docker/setup/00-init.sh" ];then echo "Running the init script";bash "/root/docker/setup/00-init.sh";echo "Done running the init script";fi; \
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
RUN echo "Creating and editing system files "; \
|
RUN echo "Creating and editing system files "; \
|
||||||
$SHELL_OPTS; \
|
$SHELL_OPTS; \
|
||||||
[ -f "/root/.profile" ] || touch "/root/.profile"; \
|
[ -f "/root/.profile" ] || touch "/root/.profile"; \
|
||||||
mkdir -p "${DEFAULT_DATA_DIR}" "${DEFAULT_CONF_DIR}" "${DEFAULT_TEMPLATE_DIR}" "/root/docker/setup" "/etc/profile.d"; \
|
|
||||||
if [ -f "/root/docker/setup/01-system.sh" ];then echo "Running the system script";bash "/root/docker/setup/01-system.sh";echo "Done running the system script";fi; \
|
if [ -f "/root/docker/setup/01-system.sh" ];then echo "Running the system script";bash "/root/docker/setup/01-system.sh";echo "Done running the system script";fi; \
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user