Skip to content

Commit 6509cf3

Browse files
author
Jacob Woffenden
committed
Add system upgrade to base
Signed-off-by: Jacob Woffenden <jacob.woffenden@digital.justice.gov.uk>
1 parent a6cf702 commit 6509cf3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

images/base/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ COPY --chown=nobody:nobody --chmod=0755 src/usr/local/bin/devcontainer-utils /us
1010
COPY --chown=nobody:nobody --chmod=0444 src/usr/local/etc/vscode-dev-containers/first-run-notice.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
1111
COPY --chown=vscode:vscode --chmod=0755 src/home/vscode/.oh-my-zsh/custom/themes/devcontainers.zsh-theme /home/vscode/.oh-my-zsh/custom/themes/devcontainers.zsh-theme
1212

13-
RUN chsh --shell "$(which zsh)" vscode \
13+
RUN apt-get update --yes \
14+
&& apt-get upgrade --yes \
15+
&& apt-get clean --yes \
16+
&& rm -rf /var/lib/apt/lists/* \
17+
&& chsh --shell "$(which zsh)" vscode \
1418
&& install --directory --owner=vscode --group=vscode /home/vscode/.devcontainer \
1519
&& install --directory --owner=vscode --group=vscode /home/vscode/.devcontainer/featurerc.d \
1620
&& install --directory --owner=vscode --group=vscode /home/vscode/.devcontainer/promptrc.d

0 commit comments

Comments
 (0)