Skip to content

Commit

Permalink
feat: create docker image for each user (#138)
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored Oct 8, 2024
1 parent 3d26946 commit 7fa43d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ case "${target}" in
esac

# shellcheck disable=SC2086
docker build ${opts} --target "${target}" -t "aichallenge-2024-${target}" .
docker build ${opts} --target "${target}" -t "aichallenge-2024-${target}-${USER}" .
2 changes: 1 addition & 1 deletion docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ esac
mkdir -p output

# shellcheck disable=SC2086
rocker ${opts} --x11 --devices /dev/dri --user --net host --privileged --name aichallenge-2024-$(date "+%Y-%m-%d-%H-%M-%S") --volume ${volume} -- "aichallenge-2024-${target}"
rocker ${opts} --x11 --devices /dev/dri --user --net host --privileged --name aichallenge-2024-$(date "+%Y-%m-%d-%H-%M-%S") --volume ${volume} -- "aichallenge-2024-${target}-${USER}"

0 comments on commit 7fa43d8

Please sign in to comment.