Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 33c4018

Browse files
committed
[v2023.08.22] Update all software
1 parent 17970cf commit 33c4018

File tree

14 files changed

+54
-73
lines changed

14 files changed

+54
-73
lines changed

images/base/Dockerfile

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@ RUN apt update && \
3333
apt upgrade -y && \
3434
apt install -y sudo git curl neofetch git-lfs ca-certificates \
3535
unzip zip bash vim nano python3 python3-pip libarchive-tools gnupg lsb-release pkg-config \
36-
libssl-dev tree htop jq zsh ripgrep exa bat protobuf-compiler
36+
libssl-dev tree htop jq zsh ripgrep exa bat protobuf-compiler xz-utils
3737

38-
# Setup the user environment
3938
RUN groupadd -g ${USER_GID} ${USERNAME} && \
4039
useradd -rm -d /home/${USERNAME} -s /bin/bash -g ${USERNAME} -u ${USER_UID} ${USERNAME} && \
4140
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
4241
chown ${USER_UID}:${USER_GID} /home/${USERNAME}
4342

44-
# Configure git-lfs
4543
RUN git lfs install --system
46-
47-
# Install Docker
4844
RUN mkdir -p /etc/apt/keyrings && \
4945
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
5046
echo \
@@ -54,17 +50,14 @@ RUN mkdir -p /etc/apt/keyrings && \
5450
RUN apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
5551
RUN usermod -aG docker ${USERNAME}
5652

57-
# stuff here
58-
ENV BAZEL_BUILDTOOLS_VERSION="6.1.2"
59-
ENV GITHUB_CLI_VERSION="2.31.0"
60-
ENV CODER_CLI_VERSION="0.25.0"
61-
ENV TERRAFORM_VERSION="1.5.2"
62-
ENV BAZELISK_VERSION="1.17.0"
63-
ENV KUBECTL_VERSION="1.27.3"
64-
ENV HELM_VERSION="3.12.1"
53+
ENV BAZEL_BUILDTOOLS_VERSION="6.3.2"
54+
ENV GITHUB_CLI_VERSION="2.32.0"
55+
ENV CODER_CLI_VERSION="2.1.0"
56+
ENV TERRAFORM_VERSION="1.5.5"
57+
ENV BAZELISK_VERSION="1.18.0"
58+
ENV KUBECTL_VERSION="1.28.0"
59+
ENV HELM_VERSION="3.12.3"
6560

66-
# Get current architecture and download software here
67-
# also this looks like shit, i know!
6861
RUN set -eux; \
6962
arch="$(dpkg --print-architecture)"; \
7063
case "${arch}" in \
@@ -91,7 +84,7 @@ RUN set -eux; \
9184
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz"; \
9285
;; \
9386
esac; \
94-
mkdir -p /opt/coder/cli /opt/github/cli /opt/hashicorp/terraform /opt/helm; \
87+
mkdir -p /opt/coder/cli /opt/github/cli /opt/hashicorp/terraform /opt/helm /tmp/nixos-install; \
9588
curl -L -o /usr/local/bin/kubectl ${KUBECTL_DOWNLOAD_URL}; \
9689
curl -L ${CODER_DOWNLOAD_URL} | tar xfz - -C /opt/coder/cli --strip-components=1; \
9790
curl -L ${GITHUB_CLI_DOWNLOAD_URL} | tar xfz - -C /opt/github/cli --strip-components=1; \
@@ -102,14 +95,10 @@ RUN set -eux; \
10295
curl -fsSL -o /usr/local/bin/bazel-buildozer ${BAZEL_BUILDOZER_DOWNLOAD_URL}; \
10396
curl -fsSL -o /usr/local/bin/bazel-unused-deps ${BAZEL_UNUSED_DEPS_DOWNLOAD_URL};
10497

105-
# Let the user execute `kubectl` and `bazel` (which is just Bazelisk so we don't have to have a Java environment in this image)
10698
RUN chmod +x /usr/local/bin/kubectl /usr/local/bin/bazel /usr/local/bin/bazel-* /opt/hashicorp/terraform/terraform
10799

108-
# Set back to our user!
109100
USER ${USERNAME}
110101
WORKDIR /home/${USERNAME}
111102

112103
ENV PATH=$PATH:/opt/coder/cli:/opt/hashicorp/terraform:/opt/helm:/opt/github/cli/bin:/home/${USERNAME}/.local/bin
113-
114-
# Add common Helm repositores
115104
RUN helm repo add bitnami https://charts.bitnami.com/bitnami

images/base/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ This image is the main base for all of the images in this repository.
44
## Bundled Software
55
| Name | Description | Version |
66
| ---------------- | --------------------------------------------------------------------------------- | -------------------------- |
7-
| Bazel Buildtools | A bazel BUILD file formatter and editor | [v6.1.2][bazel-buildtools] |
8-
| GitHub CLI | GitHub's official command line utility | [v2.31.0][github-cli] |
9-
| Coder (OSS) | Remote development environments on your infrastructure provisioned with Terraform | [v0.25.0][coder] |
10-
| Terraform | Automate Infrastructure on Any Cloud | [v1.5.2][terraform] |
11-
| Bazelisk | A user-friendly launcher for Bazel. | [v1.17.0][bazelisk] |
12-
| `kubectl` | kubectl controls the Kubernetes cluster manager. | [v1.27.3][kubectl] |
13-
| `bazel` | a fast, scalable, multi-language and extensible build system | [v6.2.1][bazel] |
14-
| `helm` | The Kubernetes Package Manager | [v3.12.1][helm] |
7+
| Bazel Buildtools | A bazel BUILD file formatter and editor | [v6.3.2][bazel-buildtools] |
8+
| GitHub CLI | GitHub's official command line utility | [v2.33.0][github-cli] |
9+
| Coder (OSS) | Remote development environments on your infrastructure provisioned with Terraform | [v2.1.0][coder] |
10+
| Terraform | Automate Infrastructure on Any Cloud | [v1.5.5][terraform] |
11+
| Bazelisk | A user-friendly launcher for Bazel. | [v1.18.0][bazelisk] |
12+
| `kubectl` | kubectl controls the Kubernetes cluster manager. | [v1.28.0][kubectl] |
13+
| `bazel` | a fast, scalable, multi-language and extensible build system | [v6.3.2][bazel] |
14+
| `helm` | The Kubernetes Package Manager | [v3.12.3][helm] |
1515

16-
[bazel-buildtools]: https://github.com/bazelbuild/buildtools/releases/tag/v6.1.2
17-
[github-cli]: https://github.com/cli/cli/releases/tag/v2.31.0
18-
[terraform]: https://github.com/hashicorp/terraform/releases/tag/v1.5.2
19-
[bazelisk]: https://github.com/bazelbuild/bazelisk/releases/tag/v1.17.0
20-
[kubectl]: https://github.com/kubernetes/kubernetes/releases/tag/v1.27.3
21-
[coder]: https://github.com/coder/coder/releases/tag/v0.25.0
22-
[bazel]: https://github.com/bazelbuild/bazel/releases/tag/6.2.1
23-
[helm]: https://github.com/helm/helm/releases/tag/v3.12.1
16+
[bazel-buildtools]: https://github.com/bazelbuild/buildtools/releases/tag/v6.3.2
17+
[github-cli]: https://github.com/cli/cli/releases/tag/v2.33.0
18+
[terraform]: https://github.com/hashicorp/terraform/releases/tag/v1.5.5
19+
[bazelisk]: https://github.com/bazelbuild/bazelisk/releases/tag/v1.18.0
20+
[kubectl]: https://github.com/kubernetes/kubernetes/releases/tag/v1.28.0
21+
[coder]: https://github.com/coder/coder/releases/tag/v2.1.0
22+
[bazel]: https://github.com/bazelbuild/bazel/releases/tag/6.3.2
23+
[helm]: https://github.com/helm/helm/releases/tag/v3.12.3
2424

2525
### Helm
2626
Helm comes with Bitnami's charts library preconfigured.

images/bun/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM ghcr.io/auguwu/coder-images/base
2424
ENV USERNAME=noel
2525

2626
USER root
27-
ENV BUN_VERSION="0.6.13"
27+
ENV BUN_VERSION="0.7.3"
2828

2929
RUN set -eux; \
3030
arch="$(dpkg --print-architecture)"; \

images/bun/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ This image extends from the [base image](https://github.com/auguwu/coder-images/
44
## Bundled Software
55
| Name | Description | Version |
66
| ----- | ------------------------------------------------------------------------------------------ | -------------- |
7-
| `bun` | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one | [v0.6.13][bun] |
7+
| `bun` | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one | [v0.7.3][bun] |
88

9-
[bun]: https://github.com/oven-sh/bun/releases/tag/bun-v0.6.13
9+
[bun]: https://github.com/oven-sh/bun/releases/tag/bun-v0.7.3

images/dotnet/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
FROM ghcr.io/auguwu/coder-images/base
2323

2424
ENV USERNAME=noel
25-
ENV DOTNET_VERSION=7.0.305
25+
ENV DOTNET_VERSION=7.0.400
2626
ENV DEBIAN_FRONTEND=noninteractive
27-
ENV X64_PR="87a55ae3-917d-449e-a4e8-776f82976e91/03380e598c326c2f9465d262c6a88c45"
28-
ENV ARM_PR="e2ca71f5-17e9-4dbd-aaf4-1e0fa225a212/61c440dae017c7129de10cfbfe36fd90"
27+
ENV X64_PR="dbfe6cc7-dd82-4cec-b267-31ed988b1652/c60ab4793c3714be878abcb9aa834b63"
28+
ENV ARM_PR="16b0b1af-6eab-4f9e-b9a4-9b29f6a1d681/4624e54b61cae05b1025211482f9c5e9"
2929

3030
USER root
3131

images/dotnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ This image extends from the [base image](https://github.com/auguwu/coder-images/
44
## Bundled Software
55
| Name | Description | Version |
66
| -------- | ---------------------------------------------------------- | ---------------------- |
7-
| .NET SDK | Free. Cross-platform. Open source. Build any app with .NET | [v7.0.8][dotnet-sdk] |
7+
| .NET SDK | Free. Cross-platform. Open source. Build any app with .NET | [v7.0.10][dotnet-sdk] |
88

9-
[dotnet-sdk]: https://github.com/dotnet/sdk/releases/tag/v7.0.305
9+
[dotnet-sdk]: https://github.com/dotnet/sdk/releases/tag/v7.0.400

images/golang/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ ENV USERNAME=noel
2727
USER root
2828

2929
# Put versions in environment variables
30-
ENV GOLANG_VERSION="1.20.5"
31-
ENV GORELEASER_VERSION="1.19.2"
32-
ENV GOLANGCI_VERSION="1.53.3"
30+
ENV GOLANG_VERSION="1.21.0"
31+
ENV GORELEASER_VERSION="1.20.0"
32+
ENV GOLANGCI_VERSION="1.54.2"
3333

3434
# Install packages here.
3535
RUN set -eux; \

images/golang/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ This is the Docker image that bundles the Go compiler with **goreleaser** and **
44
## Bundled Software
55
| Name | Description | Version |
66
| ---------- | -------------------------------------------------- | --------------------- |
7-
| Go | The Go programming language | [v1.20.4][golang] |
8-
| GoReleaser | Deliver Go binaries as fast and easily as possible | [v1.19.2][goreleaser] |
9-
| Golang CI | Fast linters Runner for Go | [v1.53.2][golangci] |
7+
| Go | The Go programming language | [v1.21][golang] |
8+
| GoReleaser | Deliver Go binaries as fast and easily as possible | [v1.20.0][goreleaser] |
9+
| Golang CI | Fast linters Runner for Go | [v1.54.2][golangci] |
1010

11-
[goreleaser]: https://github.com/goreleaser/goreleaser/releases/tag/v1.19.2
12-
[golangci]: https://github.com/golangci/golangci-lint/releases/tag/v1.53.3
13-
[golang]: https://github.com/golang/go/releases/tag/go1.20.5
11+
[goreleaser]: https://github.com/goreleaser/goreleaser/releases/tag/v1.20.0
12+
[golangci]: https://github.com/golangci/golangci-lint/releases/tag/v1.54.2
13+
[golang]: https://github.com/golang/go/releases/tag/go1.21.0

images/java/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ ENV USERNAME=noel
2727
USER root
2828

2929
# Set version environment variables
30-
ENV GRADLE_VERSION="8.2"
31-
ENV MAVEN_VERSION="3.9.3"
30+
ENV GRADLE_VERSION="8.3"
31+
ENV MAVEN_VERSION="3.9.4"
3232

3333
# install required things
3434
RUN DEBIAN_FRONTEND="noninteractive" apt install -y wget libarchive-tools

images/java/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This image extends the [base image](https://github.com/auguwu/coder-images/pkgs/
55
| Name | Description | Version |
66
| ------ | --------------------------------------------------- | ------------------------------- |
77
| JDK | The Java development kit. | [jdk-20.0.1+9][temurin-release] |
8-
| Gradle | Adaptable, fast automation for all | [v8.2][gradle-release] |
9-
| Maven | Software project management and comprehension tool. | [v3.9.3][maven-release] |
8+
| Gradle | Adaptable, fast automation for all | [v8.3][gradle-release] |
9+
| Maven | Software project management and comprehension tool. | [v3.9.4][maven-release] |
1010

1111
[temurin-release]: https://github.com/adoptium/temurin20-binaries/releases/tag/jdk-20.0.1%2B9
12-
[gradle-release]: https://github.com/gradle/gradle/releases/tag/v8.2.0
13-
[maven-release]: https://github.com/apache/maven/releases/tag/maven-3.9.3
12+
[gradle-release]: https://github.com/gradle/gradle/releases/tag/v8.3.0
13+
[maven-release]: https://github.com/apache/maven/releases/tag/maven-3.9.4

0 commit comments

Comments
 (0)