Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit53d1fb3

Browse files
authored
update-alternatives to ensure gofmt is goboring gofmt (#3540)
1 parentd6351a6 commit53d1fb3

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)

[8]ページ先頭

©2009-2025 Movatter.jp