-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 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
Showing
18 changed files
with
154 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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)"; \ | ||
|
@@ -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"; \ | ||
;; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.