File tree 1 file changed +13
-2
lines changed 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 52
52
strace
53
53
terraform
54
54
typos
55
+ vim
55
56
yq
56
57
zip
57
58
zstd
61
62
baseDevEnvImage = pkgs . dockerTools . pullImage {
62
63
imageName = "ubuntu" ;
63
64
imageDigest = "sha256:7a520eeb6c18bc6d32a21bb7edcf673a7830813c169645d51c949cecb62387d0" ;
64
- sha256 = "1qa9nq3rir0wnhbs15mwbilzw530x7ih9pq5q1wv3axz44ap6dka " ;
65
+ sha256 = "qEgC+0W4zJjrYAMrAuE6MtQjt9qQv9PgXTPY81nMHyQ= " ;
65
66
finalImageName = "ubuntu" ;
66
67
finalImageTag = "lunar" ;
67
68
} ;
91
92
chmod 4755 /usr/bin/sudo
92
93
'' ;
93
94
} ;
95
+ devEnvPath = "PATH=${ pkgs . lib . makeBinPath devShellPackages } :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin" ;
94
96
devEnvImage = pkgs . dockerTools . streamLayeredImage {
95
97
name = "codercom/oss-dogfood" ;
96
98
tag = "testing" ;
97
99
fromImage = intermediateDevEnvImage ;
100
+ contents = [
101
+ (
102
+ pkgs . writeTextDir
103
+ "etc/environment"
104
+ ''
105
+ ${ devEnvPath }
106
+ ''
107
+ )
108
+ ] ;
98
109
99
110
config = {
100
111
Env = [
101
- "PATH= ${ pkgs . lib . makeBinPath devShellPackages } :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
112
+ devEnvPath
102
113
#This setting prevents Go from using the public checksum database for
103
114
# our module path prefixes. It is required because these are in private
104
115
# repositories that require authentication.
You can’t perform that action at this time.
0 commit comments