Skip to content

Commit

Permalink
Move docker install to poststart of devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
gbraad authored Jan 11, 2025
1 parent 3b67506 commit c01fd3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .devcontainer/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ ARG BASE_VERSION="41"

FROM ${BASE_IMAGE}:${BASE_VERSION}

USER root

RUN dnf install -y \
moby-engine \
containerd \
&& dnf clean all \
&& rm -rf /var/cache/yum

USER gbraad

RUN git clone https://github.com/gbraad/dotfiles.git /home/gbraad/.dotfiles \
Expand Down
7 changes: 7 additions & 0 deletions .github/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ ln -s ~/.dotfiles /workspaces/dotfiles

cd ~

# install docker
sudo dnf install -y \
moby-engine \
containerd \
&& dnf clean all \
&& rm -rf /var/cache/yum

exit 0

0 comments on commit c01fd3b

Please sign in to comment.