Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion tools/buildenv/.gitignore

This file was deleted.

3 changes: 3 additions & 0 deletions tools/buildenv/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.6.0
* Update bazel to 9.1.1

v3.5.0
* Update base image to Ubuntu 24.04
* Update to Python 3.12
Expand Down
4 changes: 1 addition & 3 deletions tools/buildenv/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM ubuntu:24.04
LABEL maintainer="djungelorm <djungelorm@users.noreply.github.com>"

ARG bazel_version

# Install essential packages
RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand All @@ -16,7 +14,7 @@ RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.29.0/bazeli
COPY bazelrc /etc/bazel.bazelrc
RUN chmod 0644 /etc/bazel.bazelrc
ENV BAZELISK_HOME=/usr/local/share/bazelisk
RUN USE_BAZEL_VERSION=7.2.1 bazel version && chmod -R a+rwX /usr/local/share/bazelisk
RUN USE_BAZEL_VERSION=9.1.1 bazel version && chmod -R a+rwX /usr/local/share/bazelisk

# Install dotnet
RUN apt-get update && \
Expand Down
4 changes: 1 addition & 3 deletions tools/buildenv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
VERSION=`cat VERSION.txt`

build:
docker build \
--build-arg bazel_version=7.2.1 \
-t ghcr.io/krpc/buildenv:$(VERSION) .
docker build -t ghcr.io/krpc/buildenv:$(VERSION) .

test:
docker run -t --user 1001:121 -i ghcr.io/krpc/buildenv:$(VERSION)
Expand Down
2 changes: 1 addition & 1 deletion tools/buildenv/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0
3.6.0
Loading