Skip to content

Commit

Permalink
[2024.01.13] update all software
Browse files Browse the repository at this point in the history
# Bundle Sizes
cr.floofy.dev/coder/rust     latest    1362faa3dd9e   12 seconds ago   2.48GB
cr.floofy.dev/coder/node     latest    ad0a97e0c82a   30 seconds ago   2.12GB
cr.floofy.dev/coder/java     latest    c1a899f14e4b   46 seconds ago   2.76GB
cr.floofy.dev/coder/golang   latest    b7ae7cec49b7   2 minutes ago    2.22GB
cr.floofy.dev/coder/dotnet   latest    339077bc6f11   3 minutes ago    2.54GB
cr.floofy.dev/coder/bun      latest    febbeb8506c9   4 minutes ago    2.02GB
cr.floofy.dev/coder/base     latest    9c084da7f8c4   5 minutes ago    1.84GB
  • Loading branch information
auguwu committed Jan 13, 2024
1 parent 2c6ca21 commit 9951485
Show file tree
Hide file tree
Showing 18 changed files with 154 additions and 175 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 Noel Towa <[email protected]>
Copyright (c) 2022-2024 Noel Towa <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
50 changes: 25 additions & 25 deletions images/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 💐💚 coder-images: Optimized, and easy Docker images and Coder templates to use in your everyday work!
# Copyright (c) 2022-2023 Noel Towa <[email protected]>
# Copyright (c) 2022-2024 Noel Towa <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,57 +19,57 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

FROM ubuntu:lunar
FROM ubuntu:mantic

# For now, this will be `noel` as the user. You can extend this to be whatever you like.
ENV USERNAME=noel \
USER_UID=1001 \
USER_GID=1001
USER_UID=1001 \
USER_GID=1001

ENV DEBIAN_FRONTEND=noninteractive

# Install needed packages
RUN apt update && \
apt upgrade -y && \
apt install -y sudo git curl neofetch git-lfs ca-certificates \
apt upgrade -y && \
apt install -y sudo git curl neofetch git-lfs ca-certificates \
unzip zip bash vim nano python3 python3-pip libarchive-tools gnupg lsb-release pkg-config \
libssl-dev tree htop jq zsh ripgrep exa bat protobuf-compiler xz-utils

RUN groupadd -g ${USER_GID} ${USERNAME} && \
useradd -rm -d /home/${USERNAME} -s /bin/bash -g ${USERNAME} -u ${USER_UID} ${USERNAME} && \
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
chown ${USER_UID}:${USER_GID} /home/${USERNAME}
useradd -rm -d /home/${USERNAME} -s /bin/bash -g ${USERNAME} -u ${USER_UID} ${USERNAME} && \
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
chown ${USER_UID}:${USER_GID} /home/${USERNAME}

RUN git lfs install --system
RUN mkdir -p /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

RUN apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
RUN usermod -aG docker ${USERNAME}

# renovate: datasource=github-tags name=bazelbuild/buildtools
ENV BAZEL_BUILDTOOLS_VERSION="v6.3.3"
ENV BAZEL_BUILDTOOLS_VERSION="v6.4.0"

# renovate: datasource=github-tags name=cli/cli
ENV GITHUB_CLI_VERSION="2.32.0"
ENV GITHUB_CLI_VERSION="2.42.0"

# renovate: datasource=github-tags name=coder/coder
ENV CODER_CLI_VERSION="2.1.0"
ENV CODER_CLI_VERSION="2.6.0"

# renovate: datasource=github-tags name=hashicorp/terraform
ENV TERRAFORM_VERSION="1.5.5"
ENV TERRAFORM_VERSION="1.6.6"

# renovate: datasource=github-tags name=bazelbuild/bazelisk
ENV BAZELISK_VERSION="1.18.0"
ENV BAZELISK_VERSION="1.19.0"

# renovate: datasource=github-tags name=kubernetes/kubernetes
ENV KUBECTL_VERSION="1.28.0"
ENV KUBECTL_VERSION="1.29.0"

# renovate: datasource=github-tags name=helm/helm
ENV HELM_VERSION="3.12.3"
ENV HELM_VERSION="v3.13.3"

RUN set -eux; \
arch="$(dpkg --print-architecture)"; \
Expand All @@ -78,21 +78,21 @@ RUN set -eux; \
BAZEL_UNUSED_DEPS_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/unused_deps-linux-arm64"; \
BAZEL_BUILDIFIER_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/buildifier-linux-arm64"; \
BAZEL_BUILDOZER_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/buildozer-linux-arm64"; \
GITHUB_CLI_DOWNLOAD_URL="https://github.com/cli/cli/releases/download/GITHUB_CLI_VERSION}/gh_${GITHUB_CLI_VERSION}_linux_arm64.tar.gz"; \
GITHUB_CLI_DOWNLOAD_URL="https://github.com/cli/cli/releases/download/v${GITHUB_CLI_VERSION}/gh_${GITHUB_CLI_VERSION}_linux_arm64.tar.gz"; \
TERRAFORM_DOWNLOAD_URL="https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_arm64.zip"; \
BAZELISK_DOWNLOAD_URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-linux-arm64"; \
KUBECTL_DOWNLOAD_URL="https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/arm64/kubectl"; \
CODER_DOWNLOAD_URL="https://github.com/coder/coder/releases/download/${CODER_CLI_VERSION}/coder_${CODER_CLI_VERSION}_linux_arm64.tar.gz"; \
CODER_DOWNLOAD_URL="https://github.com/coder/coder/releases/download/v${CODER_CLI_VERSION}/coder_${CODER_CLI_VERSION}_linux_arm64.tar.gz"; \
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-${HELM_VERSION}-linux-arm64.tar.gz"; \
;; \
amd64|x86_64) \
BAZEL_UNUSED_DEPS_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/unused_deps-linux-amd64"; \
BAZEL_BUILDIFIER_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/buildifier-linux-amd64"; \
BAZEL_BUILDOZER_DOWNLOAD_URL="https://github.com/bazelbuild/buildtools/releases/download/${BAZEL_BUILDTOOLS_VERSION}/buildozer-linux-amd64"; \
GITHUB_CLI_DOWNLOAD_URL="https://github.com/cli/cli/releases/download/${GITHUB_CLI_VERSION}/gh_${GITHUB_CLI_VERSION}_linux_amd64.tar.gz" \
GITHUB_CLI_DOWNLOAD_URL="https://github.com/cli/cli/releases/download/v${GITHUB_CLI_VERSION}/gh_${GITHUB_CLI_VERSION}_linux_amd64.tar.gz" \
TERRAFORM_DOWNLOAD_URL="https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" \
BAZELISK_DOWNLOAD_URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-linux-amd64"; \
CODER_DOWNLOAD_URL="https://github.com/coder/coder/releases/download/${CODER_CLI_VERSION}/coder_${CODER_CLI_VERSION}_linux_amd64.tar.gz" \
BAZELISK_DOWNLOAD_URL="https://github.com/bazelbuild/bazelisk/releases/download/v${BAZELISK_VERSION}/bazelisk-linux-amd64"; \
CODER_DOWNLOAD_URL="https://github.com/coder/coder/releases/download/v${CODER_CLI_VERSION}/coder_${CODER_CLI_VERSION}_linux_amd64.tar.gz" \
KUBECTL_DOWNLOAD_URL="https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"; \
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"; \
;; \
Expand Down
32 changes: 16 additions & 16 deletions images/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ This image is the main base for all of the images in this repository.
## Bundled Software
| Name | Description | Version |
| ---------------- | --------------------------------------------------------------------------------- | -------------------------- |
| Bazel Buildtools | A bazel BUILD file formatter and editor | [v6.3.2][bazel-buildtools] |
| GitHub CLI | GitHub's official command line utility | [v2.33.0][github-cli] |
| Coder (OSS) | Remote development environments on your infrastructure provisioned with Terraform | [v2.1.0][coder] |
| Terraform | Automate Infrastructure on Any Cloud | [v1.5.5][terraform] |
| Bazelisk | A user-friendly launcher for Bazel. | [v1.18.0][bazelisk] |
| `kubectl` | kubectl controls the Kubernetes cluster manager. | [v1.28.0][kubectl] |
| `bazel` | a fast, scalable, multi-language and extensible build system | [v6.3.2][bazel] |
| `helm` | The Kubernetes Package Manager | [v3.12.3][helm] |
| Bazel Buildtools | A bazel BUILD file formatter and editor | [v6.4.0][bazel-buildtools] |
| GitHub CLI | GitHub's official command line utility | [v2.42.0][github-cli] |
| Coder (OSS) | Remote development environments on your infrastructure provisioned with Terraform | [v2.6.0][coder] |
| Terraform | Automate Infrastructure on Any Cloud | [v1.6.6][terraform] |
| Bazelisk | A user-friendly launcher for Bazel. | [v1.19.0][bazelisk] |
| `kubectl` | kubectl controls the Kubernetes cluster manager. | [v1.29.0][kubectl] |
| `bazel` | a fast, scalable, multi-language and extensible build system | [v7.0.0][bazel] |
| `helm` | The Kubernetes Package Manager | [v3.13.3][helm] |

[bazel-buildtools]: https://github.com/bazelbuild/buildtools/releases/tag/v6.3.2
[github-cli]: https://github.com/cli/cli/releases/tag/v2.33.0
[terraform]: https://github.com/hashicorp/terraform/releases/tag/v1.5.5
[bazelisk]: https://github.com/bazelbuild/bazelisk/releases/tag/v1.18.0
[kubectl]: https://github.com/kubernetes/kubernetes/releases/tag/v1.28.0
[coder]: https://github.com/coder/coder/releases/tag/v2.1.0
[bazel]: https://github.com/bazelbuild/bazel/releases/tag/6.3.2
[helm]: https://github.com/helm/helm/releases/tag/v3.12.3
[bazel-buildtools]: https://github.com/bazelbuild/buildtools/releases/tag/v6.4.0
[github-cli]: https://github.com/cli/cli/releases/tag/v2.42.0
[terraform]: https://github.com/hashicorp/terraform/releases/tag/v1.6.6
[bazelisk]: https://github.com/bazelbuild/bazelisk/releases/tag/v1.19.0
[kubectl]: https://github.com/kubernetes/kubernetes/releases/tag/v1.29.0
[coder]: https://github.com/coder/coder/releases/tag/v2.6.0
[bazel]: https://github.com/bazelbuild/bazel/releases/tag/7.0.0
[helm]: https://github.com/helm/helm/releases/tag/v3.13.3

### Helm
Helm comes with Bitnami's charts library preconfigured.
8 changes: 4 additions & 4 deletions images/bun/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 💐💚 coder-images: Optimized, and easy Docker images and Coder templates to use in your everyday work!
# Copyright (c) 2022-2023 Noel Towa <[email protected]>
# Copyright (c) 2022-2024 Noel Towa <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -26,16 +26,16 @@ ENV USERNAME=noel
USER root

# renovate: datasource=github-tags name=oven-sh/bun
ENV BUN_VERSION="0.7.3"
ENV BUN_VERSION="1.0.22"

RUN set -eux; \
arch="$(dpkg --print-architecture)"; \
case "${arch}" in \
aarch64|arm64) \
BUN_DOWNLOAD_URL="https://github.com/oven-sh/bun/releases/download/bun-${BUN_VERSION}/bun-linux-aarch64.zip"; \
BUN_DOWNLOAD_URL="https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-linux-aarch64.zip"; \
;; \
amd64|x86_64) \
BUN_DOWNLOAD_URL="https://github.com/oven-sh/bun/releases/download/bun-${BUN_VERSION}/bun-linux-x64.zip"; \
BUN_DOWNLOAD_URL="https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-linux-x64.zip"; \
;; \
esac; \
mkdir -p /opt/oven/bun; \
Expand Down
8 changes: 4 additions & 4 deletions images/bun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
This image extends from the [base image](https://github.com/auguwu/coder-images/pkgs/container/coder-images%2Fbase) that includes [Bun](https://bun.sh) to develop from.

## Bundled Software
| Name | Description | Version |
| ----- | ------------------------------------------------------------------------------------------ | -------------- |
| `bun` | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one | [v0.7.3][bun] |
| Name | Description | Version |
| ----- | ------------------------------------------------------------------------------------------ | --------------- |
| `bun` | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one | [v1.0.22][bun] |

[bun]: https://github.com/oven-sh/bun/releases/tag/bun-v0.7.3
[bun]: https://github.com/oven-sh/bun/releases/tag/bun-v1.0.22
28 changes: 14 additions & 14 deletions images/dotnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 💐💚 coder-images: Optimized, and easy Docker images and Coder templates to use in your everyday work!
# Copyright (c) 2022-2023 Noel Towa <[email protected]>
# Copyright (c) 2022-2024 Noel Towa <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,26 +22,26 @@
FROM ghcr.io/auguwu/coder-images/base

ENV USERNAME=noel
ENV DOTNET_VERSION=7.0.400
ENV DOTNET_VERSION=8.0.101
ENV DEBIAN_FRONTEND=noninteractive
ENV X64_PR="dbfe6cc7-dd82-4cec-b267-31ed988b1652/c60ab4793c3714be878abcb9aa834b63"
ENV ARM_PR="16b0b1af-6eab-4f9e-b9a4-9b29f6a1d681/4624e54b61cae05b1025211482f9c5e9"
ENV X64_PR="9454f7dc-b98e-4a64-a96d-4eb08c7b6e66/da76f9c6bc4276332b587b771243ae34"
ENV ARM_PR="092bec24-9cad-421d-9b43-458b3a7549aa/84280dbd1eef750f9ed1625339235c22"

USER root

RUN apt update && apt install -y build-essential zlib1g openssl
RUN set -eux; \
arch="$(dpkg --print-architecture)"; \
case "${arch}" in \
aarch64|arm64) \
DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/${ARM_PR}/dotnet-sdk-${DOTNET_VERSION}-linux-arm64.tar.gz"; \
;; \
amd64|x86_64) \
DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/${X64_PR}/dotnet-sdk-${DOTNET_VERSION}-linux-x64.tar.gz"; \
;; \
arch="$(dpkg --print-architecture)"; \
case "${arch}" in \
aarch64|arm64) \
DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/${ARM_PR}/dotnet-sdk-${DOTNET_VERSION}-linux-arm64.tar.gz"; \
;; \
amd64|x86_64) \
DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/${X64_PR}/dotnet-sdk-${DOTNET_VERSION}-linux-x64.tar.gz"; \
;; \
esac; \
mkdir -p /opt/dotnet; \
curl -L ${DOTNET_DOWNLOAD_URL} | tar xfz - -C /opt/dotnet --strip-components=1;
mkdir -p /opt/dotnet; \
curl -L ${DOTNET_DOWNLOAD_URL} | tar xfz - -C /opt/dotnet --strip-components=1;

USER ${USERNAME}
ENV PATH=$PATH:/opt/dotnet
Expand Down
4 changes: 2 additions & 2 deletions images/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ This image extends from the [base image](https://github.com/auguwu/coder-images/
## Bundled Software
| Name | Description | Version |
| -------- | ---------------------------------------------------------- | ---------------------- |
| .NET SDK | Free. Cross-platform. Open source. Build any app with .NET | [v7.0.10][dotnet-sdk] |
| .NET SDK | Free. Cross-platform. Open source. Build any app with .NET | [v8.0.1][dotnet-sdk] |

[dotnet-sdk]: https://github.com/dotnet/sdk/releases/tag/v7.0.400
[dotnet-sdk]: https://github.com/dotnet/sdk/releases/tag/v8.0.101
Loading

0 comments on commit 9951485

Please sign in to comment.