Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Oct 2, 2024
1 parent 02d00ae commit 597bc00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/docker/conan-tests
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ RUN mkdir -p /usr/share/bazel-$BAZEL_6_3_2/bin && \

RUN groupadd -g $DOCKER_GID docker || groupmod -g $DOCKER_GID docker

RUN usermod -aG docker conan
RUN usermod -aG docker root

USER conan
WORKDIR $HOME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository_owner }}/conan-tests:latest
options: --user conan -v /var/run/docker.sock:/var/run/docker.sock
options: -v /var/run/docker.sock:/var/run/docker.sock
strategy:
matrix:
python-version: ['3.12.3']
Expand Down
2 changes: 1 addition & 1 deletion conan/internal/runner/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, conan_api, command, host_profile, build_profile, args, raw_ar
# Update conan command and some paths to run inside the container
raw_args[raw_args.index(args.path)] = self.abs_docker_path
self.command = ' '.join([f'conan {command}'] + [f'"{raw_arg}"' if ' ' in raw_arg else raw_arg for raw_arg in raw_args] + ['-f json > create.json'])
self.command = "pwd && ls /root/conanrunner/pathwithoutspaces && " + self.command
self.command = "pwd && ls /root/conanrunner/pathwithoutspaces && ls /root/conan-io && " + self.command

def run(self):
"""
Expand Down

0 comments on commit 597bc00

Please sign in to comment.