Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/docker-autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
schedule:
- cron: "0 0 */7 * *"
push:
paths:
- 'docker/'
paths:
- 'docker/**'

permissions:
contents: read
Expand Down
5 changes: 4 additions & 1 deletion docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM alpine:latest


RUN apk update && \
apk add clang gcc git cmake make gtest-dev gtest-src re2 re2-dev fmt fmt-dev nodejs grep
apk add --no-cache python3 py3-pip clang gcc git cmake make \
ninja nodejs grep \
&& pip3 install --no-cache-dir --break-system-packages conan
6 changes: 5 additions & 1 deletion docker/archlinux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FROM archlinux:latest

RUN pacman -Syu cmake git clang gcc gtest re2 fmt base-devel nodejs --noconfirm
RUN pacman -Syu --noconfirm --needed \
python python-pip cmake git clang gcc \
base-devel nodejs \
&& pip install --no-cache-dir --break-system-packages conan \
&& pacman -Scc --noconfirm
8 changes: 5 additions & 3 deletions docker/debian-stable/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM debian
FROM debian:latest

RUN apt update && \
apt install git cmake clang libre2-9 libre2-dev libfmt9 libfmt-dev libgtest-dev googletest gnu-which nodejs -y
RUN apt-get update && apt-get install -y --no-install-recommends \
git cmake clang libre2-9 libre2-dev gnu-which nodejs python3 python3-pip \
&& pip3 install --no-cache-dir --break-system-packages conan \
&& rm -rf /var/lib/apt/lists/*
6 changes: 4 additions & 2 deletions docker/debian-unstable/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM debian:unstable

RUN apt update && \
apt install git cmake clang libre2-11 libre2-dev libfmt10 libfmt-dev libgtest-dev googletest gnu-which nodejs -y
RUN apt-get update && apt-get install -y --no-install-recommends \
git cmake clang libre2-9 libre2-dev gnu-which nodejs python3 python3-pip \
&& pip3 install --no-cache-dir --break-system-packages conan \
&& rm -rf /var/lib/apt/lists/*
11 changes: 7 additions & 4 deletions docker/fedora/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM fedora

RUN dnf update -y && \
dnf install clang clang-libs gcc gtest gtest-devel fmt fmt-devel re2 re2-devel gtest gtest-devel git cmake libasan which nodejs -y
FROM fedora:latest

RUN dnf update -y \
&& dnf install -y --setopt=install_weak_deps=False git cmake \
clang gcc which nodejs python3 python3-pip \
&& pip3 install --no-cache-dir --break-system-packages conan \
&& dnf clean all \
&& rm -rf /var/cache/dnf
3 changes: 2 additions & 1 deletion docker/gentoo-glibc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ FROM gentoo/stage3:systemd

RUN emerge --sync > /dev/null && \
getuto && \
emerge llvm-core/clang cmake dev-vcs/git re2 libfmt gtest which nodejs --getbinpkg -j2
emerge llvm-core/clang cmake dev-vcs/git re2 libfmt gtest which nodejs conan --getbinpkg -j2 &&
rm -rf /var/lib/repos/gentoo
5 changes: 0 additions & 5 deletions docker/gentoo-glibc/Dockerfile.save

This file was deleted.

2 changes: 1 addition & 1 deletion docker/gentoo-musl/stage1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM gentoo/stage3:musl
RUN emerge --sync > /dev/null && \
getuto && \
sed -i 's/^MAKEOPTS=".*"/MAKEOPTS="& -j8"/' /etc/portage/make.conf && \
emerge llvm-core/llvm cmake gtest re2 libfmt dev-vcs/git --getbinpkg
emerge llvm-core/llvm cmake gtest re2 libfmt dev-vcs/git conan --getbinpkg
3 changes: 2 additions & 1 deletion docker/gentoo-musl/stage2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM hyperwin/hcpu-ci:gentoo-musl-build

RUN emerge llvm-core/clang --getbinpkg
RUN emerge llvm-core/clang --getbinpkg && \
rm -rf /var/lib/repos/gentoo
6 changes: 4 additions & 2 deletions docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ubuntu:latest

RUN apt update && \
apt install git cmake clang libre2-10 libre2-dev libfmt9 libfmt-dev libgtest-dev googletest gnu-which nodejs -y
RUN apt update && apt install -y --no-install-recommends \
git cmake clang libre2-9 libre2-dev gnu-which nodejs python3 python3-pip \
&& pip3 install --no-cache-dir --break-system-packages conan \
&& rm -rf /var/lib/apt/lists/*