File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11FROM debian:12-slim as build
22ARG VERSION=9.0.5
3+ ARG VARIANT=standard
4+ ARG MICROPYPATH=/ciruitpy/lib
35
46# Install system requirements
57RUN apt update \
@@ -14,15 +16,16 @@ RUN python3 -m pip install --upgrade -r requirements-dev.txt \
1416 && python tools/ci_fetch_deps.py tests
1517# Build the binaires
1618RUN make -C mpy-cross \
17- && make -C ports/unix
19+ && VARIANT=$VARIANT BUILD=build make -C ports/unix
1820
1921# Create final runtime container
2022FROM debian:12-slim
2123COPY --from=build /circuitpython/mpy-cross/build/mpy-cross /usr/local/bin/mpy-cross
22- COPY --from=build /circuitpython/ports/unix/build-standard /micropython /usr/local/bin/micropython
24+ COPY --from=build /circuitpython/ports/unix/build/micropython /usr/local/bin/micropython
2325RUN useradd -Md /circuitpy circuitpy \
2426 && mkdir /circuitpy \
2527 && chown circuitpy:circuitpy /circuitpy
2628USER circuitpy
2729WORKDIR /circuitpy
30+ ENV MICROPYPATH=$MICROPYPATH
2831ENTRYPOINT ["/usr/local/bin/micropython" ]
You can’t perform that action at this time.
0 commit comments