1 | FROM oilshell/soil-common
|
2 |
|
3 | # Copy again to prevent unsound caching
|
4 | COPY deps/from-apt.sh /home/uke/tmp/deps/from-apt.sh
|
5 |
|
6 | # layer-locales also has to install packages
|
7 | RUN --mount=type=cache,id=var-cache-apt,target=/var/cache/apt,sharing=locked \
|
8 | --mount=type=cache,id=var-lib-apt,target=/var/lib/apt,sharing=locked \
|
9 | du --si -s /var/cache/apt /var/lib/apt && \
|
10 | deps/from-apt.sh layer-locales && \
|
11 | deps/from-apt.sh app-tests
|
12 |
|
13 | USER uke
|
14 |
|
15 | # Copy pre-built wedges for build/py.sh all
|
16 |
|
17 | COPY --chown=uke \
|
18 | _build/wedge/binary/oils-for-unix.org/pkg/cmark/0.29.0 \
|
19 | /wedge/oils-for-unix.org/pkg/cmark/0.29.0
|
20 |
|
21 | COPY --chown=uke \
|
22 | _build/wedge/binary/oils-for-unix.org/pkg/re2c/3.0 \
|
23 | /wedge/oils-for-unix.org/pkg/re2c/3.0
|
24 |
|
25 | # TODO: Add osh-cpp so we can test ble.sh with it
|
26 |
|
27 | CMD ["sh", "-c", "echo 'hello from oilshell/app-tests'"]
|