Skip to content

Commit 8761bbf

Browse files
committed
Update Linux build environment to include CI tools
Add `git` to help with checkout from within the container, so checkout doesn't need to fall back on the REST API. This is particularly relevant for projects that use OP2Utility as a submodule, and wish to use the build image either directly or as a base image. They may want to use the `submodules: recursive` option, which requires `git`. Add `ca-certificates` so secure connections can be made.
1 parent b8500d0 commit 8761bbf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/buildDockerBuildEnv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
env:
1010
buildPath: dockerBuildEnv/
11-
imageName: ghcr.io/outpostuniverse/op2utility:1.3
11+
imageName: ghcr.io/outpostuniverse/op2utility:1.4
1212

1313
steps:
1414
- uses: actions/checkout@v6

dockerBuildEnv/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1313
build-essential \
1414
clang \
1515
cmake \
16+
git \
17+
ca-certificates \
1618
libgtest-dev \
1719
libgmock-dev \
1820
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)