Skip to content

Commit 34ce554

Browse files
authored
make the pip cache work in docker containers (#6793)
* make the pip cache work in docker containers * home?
1 parent 04a8f18 commit 34ce554

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ jobs:
168168
repository: "google/wycheproof"
169169
path: "wycheproof"
170170
ref: "master"
171+
# When run in a docker container the home directory doesn't have the same owner as the
172+
# apparent user so pip refuses to create a cache dir
173+
- name: create pip cache dir
174+
run: mkdir -p "${HOME}/.cache/pip"
171175
- run: |
172176
echo "OPENSSL_FORCE_FIPS_MODE=1" >> $GITHUB_ENV
173177
echo "CFLAGS=-DUSE_OSRANDOM_RNG_FOR_TESTING" >> $GITHUB_ENV

0 commit comments

Comments
 (0)