From ebd0e0e2d95259c10deb251016ff3130770bc6c3 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Mon, 29 Aug 2022 18:31:27 +0000 Subject: [PATCH] Docker builds in GitHub actions (#3523) ## Issue Addressed I think the antithesis is failing due to an OOM which may be resolved by updating the ubuntu image it runs on. The lcli build looks like it's failing because the image lacks the `libclang` dependency Co-authored-by: realbigsean --- .github/workflows/docker-antithesis.yml | 2 +- lcli/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-antithesis.yml b/.github/workflows/docker-antithesis.yml index b7b35d120..40de0bd0a 100644 --- a/.github/workflows/docker-antithesis.yml +++ b/.github/workflows/docker-antithesis.yml @@ -15,7 +15,7 @@ env: jobs: build-docker: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Update Rust diff --git a/lcli/Dockerfile b/lcli/Dockerfile index 2a0e5a9d4..8fd3567cd 100644 --- a/lcli/Dockerfile +++ b/lcli/Dockerfile @@ -2,7 +2,7 @@ # - from the `lighthouse` dir with the command: `docker build -f ./lcli/Dockerflie .` # - from the current directory with the command: `docker build -f ./Dockerfile ../` FROM rust:1.62.1-bullseye AS builder -RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake +RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev COPY . lighthouse ARG PORTABLE ENV PORTABLE $PORTABLE