Update runc to 1.1.0 to get newer x/sys and fix Go 1.18 build (#292)

* Update runc to 1.1.0 to get newer x/sys

...to fix building on Darwin with Go 1.18.

This required some code changes as opencontainers unfortunately introduced breaking changes in a minor revision.
However, those changes were to simpify the libcontainer factory initialization.

* Switch CircleCI image to cimg/go, update remote Docker version to 20.10
This commit is contained in:
DasSkelett
2022-03-23 18:46:40 +01:00
committed by GitHub
parent acbf17a4fd
commit 163060b3fa
8 changed files with 37 additions and 57 deletions

View File

@@ -3,13 +3,13 @@ jobs:
build:
working_directory: ~/build
docker:
- image: circleci/golang:latest
- image: cimg/go:latest
steps:
- checkout
- setup_remote_docker:
version: 19.03.13
version: 20.10.11
- run: make image
- deploy:
- deploy:
command: |
if [[ "$CIRCLE_BRANCH" == "master" ]]; then
docker tag ctop quay.io/vektorlab/ctop:latest