Skip to content

Commit 53d1fb3

Browse files
authored
update-alternatives to ensure gofmt is goboring gofmt (#3540)
1 parent d6351a6 commit 53d1fb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dogfood/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ RUN apt-get update && \
174174
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/11/bin/initdb 100 && \
175175
update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/11/bin/postgres 100
176176

177+
# Ensure goboring is made the default Go
178+
RUN update-alternatives --install /usr/local/bin/gofmt gofmt /usr/local/goboring/bin/gofmt 100
179+
177180
# Create links for injected dependencies
178181
RUN ln --symbolic /var/tmp/coder/coder-cli/coder /usr/local/bin/coder && \
179182
ln --symbolic /var/tmp/coder/code-server/bin/code-server /usr/local/bin/code-server

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy