Skip to content

Commit d822380

Browse files
committed
feat: enhance Dockerfile further
1 parent 3f86806 commit d822380

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
FROM ubuntu:latest
22

3-
# Avoid warnings by switching to noninteractive
4-
ENV DEBIAN_FRONTEND=noninteractive
3+
WORKDIR /home/
54

6-
RUN bash setup.sh
5+
COPY . .
76

8-
# Switch back to dialog for any ad-hoc use of apt-get
9-
ENV DEBIAN_FRONTEND=dialog
7+
RUN bash ./setup.sh

.devcontainer/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ cp /root/.zshrc /home/$USERNAME
3131
sed -i -e "s/\/root\/.oh-my-zsh/\/home\/$USERNAME\/.oh-my-zsh/g" /home/$USERNAME/.zshrc
3232
chown -R $USER_UID:$USER_GID /home/$USERNAME/.oh-my-zsh /home/$USERNAME/.zshrc
3333

34-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
34+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

0 commit comments

Comments
 (0)