diff --git a/.github/docker/monkey-github-builder-clang/Dockerfile b/.github/docker/monkey-github-builder-clang/Dockerfile new file mode 100644 index 0000000..9dffea9 --- /dev/null +++ b/.github/docker/monkey-github-builder-clang/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:bullseye + +RUN \ + sed -n -e 's/^deb /deb-src /p' /etc/apt/sources.list >/etc/apt/sources.list.d/quick-lint-js-sources.list && \ + apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ + ca-certificates \ + clang-13 \ + cmake \ + git \ + libc++-13-dev \ + libc++abi-13-dev \ + libc6-dev \ + libstdc++-10-dev \ + ninja-build \ + python3 + +RUN rm -rf /var/lib/apt/lists/* diff --git a/.github/docker/monkey-github-builder-void-linux-musl-clang/Dockerfile b/.github/docker/monkey-github-builder-void-linux-musl-clang/Dockerfile new file mode 100644 index 0000000..1605591 --- /dev/null +++ b/.github/docker/monkey-github-builder-void-linux-musl-clang/Dockerfile @@ -0,0 +1,7 @@ +FROM ghcr.io/void-linux/void-musl +RUN xbps-install -Syu || xbps-install -yu xbps \ + && xbps-install -yu \ + && xbps-install -y bash git cmake clang python3-codespell ninja \ + && xbps-remove -Oy + + diff --git a/.github/docker/monkey-github-builder-void-linux-musl-clang/README.md b/.github/docker/monkey-github-builder-void-linux-musl-clang/README.md new file mode 100644 index 0000000..10ae55e --- /dev/null +++ b/.github/docker/monkey-github-builder-void-linux-musl-clang/README.md @@ -0,0 +1,13 @@ +# monkey-github-builder-void-linux-musl-clang Docker image + +## Updating the Docker image + +Pick a version number for the new Docker image (e.g. `v2`), then run the +following commands: + + $ docker build --tag ghcr.io/hrzlgnm/monkey-github-builder-void-linux-musl-clang:VERSION_NUMBER_HERE .github/docker/monkey-github-builder-void-linux-musl-clang/ + $ docker login ghcr.io -u YOUR_GITHUB_USER_NAME_HERE + $ docker push ghcr.io/hrzlgnm/monkey-github-builder-void-linux-musl-clang:VERSION_NUMBER_HERE + +Then, change the container tag in each workflow file in the .github/workflows/ +directory to refer to your new version.