aboutsummaryrefslogtreecommitdiff
path: root/.gitpod.dockerfile
diff options
context:
space:
mode:
authorCyril Cohen2021-03-15 02:37:13 +0100
committerGitHub2021-03-15 02:37:13 +0100
commit5bc1b23fff6bbffb0e0885f3e11481c5e8ee762b (patch)
tree8e7807356032b9e88aafb4725e5cc5d408038ebc /.gitpod.dockerfile
parentdeb0e19892674652b430b3cb89259bb5afc089b8 (diff)
parent25695dba0365a252cb142d5ba9079bd59f3ccad2 (diff)
Merge pull request #723 from CohenCyril/gitpod
fixup gitpod config
Diffstat (limited to '.gitpod.dockerfile')
-rw-r--r--.gitpod.dockerfile23
1 files changed, 0 insertions, 23 deletions
diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile
deleted file mode 100644
index 9c1da02..0000000
--- a/.gitpod.dockerfile
+++ /dev/null
@@ -1,23 +0,0 @@
-FROM gitpod/workspace-full
-
-# 0. Switch to root
-USER root
-
-# 1. Install direnv & git-lfs
-RUN sudo apt-get install -y \
- direnv \
- git-lfs
-
-# 2. Configure Nix
-CMD /bin/bash -l
-USER gitpod
-ENV USER gitpod
-WORKDIR /home/gitpod
-
-RUN mkdir -p /home/gitpod/.config/nixpkgs && echo '{ allowUnfree = true; }' >> /home/gitpod/.config/nixpkgs/config.nix
-
-RUN echo '. /home/gitpod/.nix-profile/etc/profile.d/nix.sh' >> /home/gitpod/.bashrc
-RUN echo 'eval "$(direnv hook bash)"' >> /home/gitpod/.bashrc
-
-# n. Give back control
-USER root \ No newline at end of file