Skip to content

Commit 1e3c520

Browse files
committed
antibody
1 parent d8d1c49 commit 1e3c520

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

apache/8.4/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ RUN mkdir -p /app/runtime /app/web/assets \
8888

8989
RUN a2enmod rewrite headers ssl
9090

91+
RUN curl -sfL git.io/antibody | sh -s - -b /usr/local/bin \
92+
&& antibody bundle < /root/.zsh_plugins.txt > /root/.zsh_plugins.sh
93+
9194
COPY copy/base /
9295
COPY copy/apache /
9396

copy/apache/usr/local/bin/docker-php-entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ if [ -n "${GIT_REPOSITORY:-}" ] ; then
9292
rm -rf "$TEMP_DIR"
9393

9494
cd /app
95-
composer install --no-dev --optimize-autoloader --no-interaction
95+
composer install --optimize-autoloader --no-interaction
9696

9797
fi
9898

copy/base/root/.zshrc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
source /root/.bashrc
2+
source /root/.zsh_plugins.sh
23

34
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
45
# Initialization code that may require console input (password prompts, [y/n]
@@ -18,7 +19,7 @@ export ZSH="$HOME/.oh-my-zsh"
1819
# to know which specific one was loaded, run: echo $RANDOM_THEME
1920
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
2021
# ZSH_THEME="robbyrussell"
21-
ZSH_THEME="powerlevel10k/powerlevel10k"
22+
# ZSH_THEME="powerlevel10k/powerlevel10k"
2223

2324
# Set list of themes to pick from when loading at random
2425
# Setting this variable when ZSH_THEME=random will cause zsh to load
@@ -80,9 +81,9 @@ HIST_STAMPS="yyyy-mm-dd"
8081
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
8182
# Example format: plugins=(rails git textmate ruby lighthouse)
8283
# Add wisely, as too many plugins slow down shell startup.
83-
plugins=(git yii2 command-not-found)
84+
# plugins=(git yii2 command-not-found)
8485

85-
source $ZSH/oh-my-zsh.sh
86+
# source $ZSH/oh-my-zsh.sh
8687

8788
# User configuration
8889

0 commit comments

Comments
 (0)