Skip to content

Add network to configfile for Docker runners#17069

Merged
czoido merged 9 commits intoconan-io:develop2from
czoido:add-network-to-docker-config
Dec 3, 2024
Merged

Add network to configfile for Docker runners#17069
czoido merged 9 commits intoconan-io:develop2from
czoido:add-network-to-docker-config

Conversation

@czoido
Copy link
Contributor

@czoido czoido commented Sep 26, 2024

Changelog: Feature: Add network to configfile for Docker runners.
Changelog: Fix: Fix arch for docker runner tests.
Docs: conan-io/docs#3932

This lets you add the network to the docker run, this was very useful for me while trying to debug this #16834 launching a local docker artifactory.

Leaving in draft because we can't test this...

image: my-conan-runner-image
build:
    dockerfile: /Users/barbarian/runner/mylib
    build_context:  /Users/barbarian/runner/mylib
    build_args:
        BASE_IMAGE: ubuntu:22.04
run:
    name: my-conan-runner
    containerEnv:
        CONAN_PASSWORD_SERVER: password
        CONAN_LOGIN_USERNAME_SERVER: admin
    network: my-network

@czoido czoido added this to the 2.8.0 milestone Sep 26, 2024
@czoido czoido modified the milestones: 2.8.0, 2.9.0 Sep 27, 2024
@czoido czoido modified the milestones: 2.9.0, 2.10.0 Oct 28, 2024
@czoido czoido marked this pull request as ready for review December 3, 2024 08:11
@czoido czoido merged commit e33c5f0 into conan-io:develop2 Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants