-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update python 3.10 * upgrade alpine version * use pip 3.10 * Update assets/Dockerfile Co-authored-by: Yuki Igarashi <[email protected]> Co-authored-by: Yuki Igarashi <[email protected]>
- Loading branch information
1 parent
3bf7ba3
commit e564d72
Showing
3 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
# Dockerfile for pysen-test | ||
FROM alpine:3.13.2 | ||
FROM alpine:3.14.6 | ||
|
||
COPY --from=python:3.6.13-alpine3.13 /usr/local/ /usr/local/ | ||
COPY --from=python:3.7.10-alpine3.13 /usr/local/ /usr/local/ | ||
COPY --from=python:3.8.8-alpine3.13 /usr/local/ /usr/local/ | ||
COPY --from=python:3.9.2-alpine3.13 /usr/local/ /usr/local/ | ||
COPY --from=python:3.6.13-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.7.10-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.8.13-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.9.12-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.10.4-alpine3.14 /usr/local/ /usr/local/ | ||
|
||
RUN apk add --no-cache expat gcc libffi musl-dev \ | ||
&& for MINOR in 6 7 8 9; do \ | ||
&& for MINOR in 6 7 8 9 10; do \ | ||
sed "s|^#!/usr/local/bin/python$|#!/usr/local/bin/python3.${MINOR}|" \ | ||
-i /usr/local/bin/*3.${MINOR}; done | ||
|
||
RUN apk add --no-cache bash git \ | ||
&& pip3.9 install --no-cache-dir tox==3.15.0 | ||
&& pip3.10 install --no-cache-dir tox==3.15.0 | ||
ENV TOX_PARALLEL_NO_SPINNER 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters