File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,6 @@ RUN apt-get update && \
177
177
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/11/bin/initdb 100 && \
178
178
update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/11/bin/postgres 100
179
179
180
- # Ensure goboring is made the default Go
181
- RUN update-alternatives --install /usr/local/bin/gofmt gofmt /usr/local/goboring/bin/gofmt 100
182
-
183
180
# Create links for injected dependencies
184
181
RUN ln --symbolic /var/tmp/coder/coder-cli/coder /usr/local/bin/coder && \
185
182
ln --symbolic /var/tmp/coder/code-server/bin/code-server /usr/local/bin/code-server
@@ -299,6 +296,9 @@ RUN mkdir /usr/local/goboring && \
299
296
300
297
ENV PATH=$PATH:/usr/local/goboring/bin
301
298
299
+ # Ensure goboring gofmt is made the default gofmt
300
+ RUN update-alternatives --install /usr/local/bin/gofmt gofmt /usr/local/goboring/bin/gofmt 100
301
+
302
302
COPY --from=go /tmp/bin /usr/local/bin
303
303
304
304
COPY --from=rust-utils /tmp/bin /usr/local/bin
You can’t perform that action at this time.
0 commit comments