File tree 2 files changed +10
-12
lines changed 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Development environments on your infrastructure" ,
3
- "image" : " codercom/oss-dogfood:latest" ,
3
+ "context" : " ../dogfood" ,
4
+ "dockerFile" : " ../dogfood/Dockerfile" ,
4
5
"runArgs" : [" --init" , " --privileged" ],
5
6
"overrideCommand" : false ,
6
- "remoteUser" : " coder"
7
+ "features" : {
8
+ "ghcr.io/devcontainers/features/docker-in-docker:1" : {
9
+ "version" : " latest" ,
10
+ "moby" : true
11
+ }
12
+ }
7
13
}
Original file line number Diff line number Diff line change @@ -165,15 +165,9 @@ RUN apt-get update --quiet && apt-get install --yes \
165
165
# Configure FIPS-compliant policies
166
166
update-crypto-policies --set FIPS
167
167
168
- # Install the docker buildx component.
169
- RUN DOCKER_BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/releases/latest" | grep '"tag_name":' | sed -E 's/.*"(v[^"]+)".*/\1 /' ) && \
170
- mkdir -p /usr/local/lib/docker/cli-plugins && \
171
- curl -Lo /usr/local/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/${DOCKER_BUILDX_VERSION}/buildx-${DOCKER_BUILDX_VERSION}.linux-amd64" && \
172
- chmod a+x /usr/local/lib/docker/cli-plugins/docker-buildx
173
-
174
168
# See https://github.com/cli/cli/issues/6175#issuecomment-1235984381 for proof
175
169
# the apt repository is unreliable
176
- RUN curl -L https://github.com/cli/cli/releases/download/v2.14.7 /gh_2.14.7_linux_amd64 .deb -o gh.deb && \
170
+ RUN curl -L https://github.com/cli/cli/releases/download/v2.30.0 /gh_2.30.0_linux_amd64 .deb -o gh.deb && \
177
171
dpkg -i gh.deb
178
172
179
173
# Install Lazygit
@@ -207,9 +201,7 @@ RUN systemctl disable \
207
201
postgresql
208
202
209
203
# Configure systemd services for CVMs
210
- RUN systemctl enable \
211
- docker \
212
- ssh
204
+ RUN systemctl enable ssh
213
205
214
206
# Install tools with published releases, where that is the
215
207
# preferred/recommended installation method.
You can’t perform that action at this time.
0 commit comments