Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Fix docker uuid (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus authored Jul 11, 2023
1 parent 3f61eec commit 1f7ecf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ jobs:
- name: Start the container
run: |
mkdir -p build
docker run -id --name build.${{ inputs.name }} --network host -v $(pwd):/_work build.${{ inputs.name }}:latest
docker run -id --name build.${{ inputs.name }} --network host build.${{ inputs.name }}:latest
docker cp . build.${{ inputs.name }}:/_work
docker exec build.${{ inputs.name }} chown -R ghrunner:ghrunner /_work
- name: Copy maven cache inside container
if: steps.maven-cache.cache-hit == 'true'
Expand All @@ -85,7 +87,7 @@ jobs:
docker exec -u ghrunner build.${{ inputs.name }} sh /_work/omniscidb/scripts/conda/build.sh ${{ inputs.options }}
docker exec -u ghrunner build.${{ inputs.name }} tar -zcf /tmp/build.tgz -C /_work .
docker cp build.${{ inputs.name }}:/tmp/build.tgz .
- name: Upload build and src files
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ RUN apt-get update && \
apt-get upgrade -y && \
apt-get clean

RUN useradd -m --uid 1001 ghrunner
RUN useradd -m --uid 1002 ghrunner

0 comments on commit 1f7ecf4

Please sign in to comment.