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

ci: standardize on go 1.22.12#17047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 4 commits intomainfromcj/dogfood-go-revert-bump
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletionsdogfood/coder/Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,14 +2,14 @@ FROM rust:slim@sha256:9abf10cc84dfad6ace1b0aae3951dc5200f467c593394288c11db1e17b
# Install rust helper programs
# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
ENV CARGO_INSTALL_ROOT=/tmp/
RUN cargo installexa bat ripgreptypos-cli watchexec-cli && \
RUN cargo install typos-cli watchexec-cli && \
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

review:bat was failing to build for me locally, butbat,exa, andripgrep can now be installed viaapt.

# Reduce image size.
rm -rf /usr/local/cargo/registry

FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go

# Install Go manually, so that we can control the version
ARG GO_VERSION=1.24.1
ARG GO_VERSION=1.22.12

# Boring Go is needed to build FIPS-compliant binaries.
RUN apt-get update && \
Expand DownExpand Up@@ -65,9 +65,6 @@ RUN apt-get update && \
# we're using for the version of go-critic that it embeds, then check
# the version of ruleguard in go-critic for that tag.
go install github.com/quasilyte/go-ruleguard/cmd/ruleguard@v0.3.13 && \
# go-fuzz for fuzzy testing. they don't publish releases so we rely on latest.
go install github.com/dvyukov/go-fuzz/go-fuzz@latest && \
go install github.com/dvyukov/go-fuzz/go-fuzz-build@latest && \
Comment on lines -68 to -70
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

review: this was failing to build with a tools dependency issue but it doesn't seem to be required since go 1.18?

# go-releaser for building 'fat binaries' that work cross-platform
go install github.com/goreleaser/goreleaser@v1.6.1 && \
go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 && \
Expand DownExpand Up@@ -128,6 +125,7 @@ RUN apt-get update --quiet && apt-get install --yes \
asciinema \
bash \
bash-completion \
bat \
bats \
bind9-dnsutils \
build-essential \
Expand All@@ -140,6 +138,7 @@ RUN apt-get update --quiet && apt-get install --yes \
docker-ce \
docker-ce-cli \
docker-compose-plugin \
exa \
fd-find \
file \
fish \
Expand DownExpand Up@@ -176,6 +175,7 @@ RUN apt-get update --quiet && apt-get install --yes \
postgresql-16 \
python3 \
python3-pip \
ripgrep \
rsync \
screen \
shellcheck \
Expand Down
2 changes: 1 addition & 1 deletiongo.mod
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
module github.com/coder/coder/v2

go 1.22.9
go 1.22.12

// Required until a v3 of chroma is created to lazily initialize all XML files.
// None of our dependencies seem to use the registries anyways, so this
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp