| 1 | FROM oilshell/soil-debian-12
|
| 2 |
|
| 3 | # No more apt packages, only Python 3 packages
|
| 4 |
|
| 5 | USER uke
|
| 6 |
|
| 7 | COPY --chown=uke \
|
| 8 | _build/boxed/wedge/python3/3.10.4 \
|
| 9 | /home/uke/oils.DEPS/wedge/python3/3.10.4
|
| 10 |
|
| 11 | # Put python3 in PATH before running install-py3-libs
|
| 12 | RUN mkdir -p /home/uke/oils.DEPS/bin && \
|
| 13 | ln -s --relative /home/uke/oils.DEPS/wedge/python3/3.10.4/bin/python3 /home/uke/oils.DEPS/bin
|
| 14 |
|
| 15 | # 2024-12: Added because we want to run the old MyPy (which is not compiled)
|
| 16 | #
|
| 17 | # TODO: we really need a way to crawl deps
|
| 18 |
|
| 19 | COPY stdlib/osh/bash-strict.sh /home/uke/tmp/stdlib/osh/bash-strict.sh
|
| 20 | COPY stdlib/osh/task-five.sh /home/uke/tmp/stdlib/osh/task-five.sh
|
| 21 | COPY stdlib/osh/byo-server.sh /home/uke/tmp/stdlib/osh/byo-server.sh
|
| 22 | COPY stdlib/osh/two.sh /home/uke/tmp/stdlib/osh/two.sh
|
| 23 |
|
| 24 | COPY test/tsv-lib.sh /home/uke/tmp/test/tsv-lib.sh
|
| 25 | COPY web/table/html.sh /home/uke/tmp/web/table/html.sh
|
| 26 |
|
| 27 | COPY build/dev-shell.sh /home/uke/tmp/build/dev-shell.sh
|
| 28 | COPY deps/from-apt.sh /home/uke/tmp/deps/from-apt.sh
|
| 29 | COPY build/deps.sh /home/uke/tmp/build/deps.sh
|
| 30 |
|
| 31 | COPY --chown=uke \
|
| 32 | _build/deps-source/mypy/mypy-0.780/ \
|
| 33 | /home/uke/oils.DEPS/wedge/mypy/0.780/
|
| 34 |
|
| 35 | RUN build/deps.sh install-py3-libs \
|
| 36 | /home/uke/oils.DEPS/wedge/mypy/0.780/ ../oils.DEPS/wedge
|
| 37 |
|
| 38 | # Install MyPy with the python3 wedge
|
| 39 | RUN /home/uke/oils.DEPS/wedge/python3/3.10.4/bin/python3 -m pip \
|
| 40 | install mypy
|
| 41 |
|
| 42 | # pea/TEST.sh uses the wedge as well
|
| 43 |
|
| 44 | CMD ["sh", "-c", "echo 'hello from oilshell/soil-pea'"]
|
| 45 |
|