Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add network to configfile for Docker runners #17069

Merged
merged 9 commits into from
Dec 3, 2024

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
33 checks passed
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