Skip to content

Commit 7b88cc0

Browse files
committed
Clean up docker create command
1 parent 0a86e21 commit 7b88cc0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ jobs:
3939
docker create \
4040
--name ${{ env.FANS_CONTAINER }} \
4141
--platform linux/${{ matrix.ARCH }} \
42-
-i -t \
43-
-u `id -u`:`id -g` \
44-
-v /etc/localtime:/etc/localtime:ro \
45-
-v /etc/timezone:/etc/timezone:ro \
46-
-v ${{ github.workspace }}:${{ env.FANS_DIR }} \
47-
-w ${{ env.FANS_DIR }} \
42+
--interactive \
43+
--volume .:${{ env.FANS_DIR }} \
4844
${{ env.FANS_IMG }}:${{ matrix.UBUNTU_VERSION }}
4945
docker start ${{ env.FANS_CONTAINER }}
5046

0 commit comments

Comments
 (0)