diff --git a/.github/workflows/publish-master.yaml b/.github/workflows/publish-master.yaml index 4b7cd9cb7..55aa71772 100644 --- a/.github/workflows/publish-master.yaml +++ b/.github/workflows/publish-master.yaml @@ -8,6 +8,14 @@ jobs: if: github.repository_owner == 'change-metrics' runs-on: ubuntu-latest steps: + # See https://github.com/actions/virtual-environments/issues/3812 for more information + - name: Download Docker with patched seccomp + run: | + sudo systemctl stop docker containerd + sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc + sudo add-apt-repository -y ppa:pascallj/docker.io-clone3 + sudo apt-get install -y docker.io + - name: Checkout code uses: actions/checkout@v2 with: diff --git a/.github/workflows/publish-tag.yaml b/.github/workflows/publish-tag.yaml index 9985b1e82..71207df31 100644 --- a/.github/workflows/publish-tag.yaml +++ b/.github/workflows/publish-tag.yaml @@ -8,6 +8,14 @@ jobs: if: github.repository_owner == 'change-metrics' runs-on: ubuntu-latest steps: + # See https://github.com/actions/virtual-environments/issues/3812 for more information + - name: Download Docker with patched seccomp + run: | + sudo systemctl stop docker containerd + sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc + sudo add-apt-repository -y ppa:pascallj/docker.io-clone3 + sudo apt-get install -y docker.io + - name: Checkout code uses: actions/checkout@v2 with: diff --git a/.github/workflows/validate-pr.yaml b/.github/workflows/validate-pr.yaml index 4356cb5ef..82c3d9492 100644 --- a/.github/workflows/validate-pr.yaml +++ b/.github/workflows/validate-pr.yaml @@ -39,13 +39,17 @@ jobs: - name: Test with tox run: tox -e py3 - # - name: Validate usefulness of tests - # uses: quality-of-tests/has-useful-tests-action@master - # with: - # run-tests: tox -epy3 docker: runs-on: ubuntu-latest steps: + # See https://github.com/actions/virtual-environments/issues/3812 for more information + - name: Download Docker with patched seccomp + run: | + sudo systemctl stop docker containerd + sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc + sudo add-apt-repository -y ppa:pascallj/docker.io-clone3 + sudo apt-get install -y docker.io + - name: Checkout code uses: actions/checkout@v2 with: diff --git a/Dockerfile-api b/Dockerfile-api index e5879408f..374fb8b89 100644 --- a/Dockerfile-api +++ b/Dockerfile-api @@ -22,6 +22,6 @@ COPY haskell/ /build RUN cabal v2-install -v1 exe:monocle-api exe:macroscope ################################################################################ -FROM registry.fedoraproject.org/fedora:33 +FROM registry.fedoraproject.org/fedora:35 COPY --from=0 /root/.cabal/bin/monocle-api /root/.cabal/bin/macroscope /bin/