Merge PR #442 - update devcontainer image
The devcontainer image stopped working because the requested Ubuntu image was too outdated. This pull request brings it up to date and it should remain functional until 2029. It also enables use of the emulator by installing the needed dependencies. Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/442
这个提交包含在:
当前提交
01940449b6
@ -1,6 +1,4 @@
|
||||
FROM ubuntu:22.10
|
||||
|
||||
# TODO: install emscripten (https://emscripten.org/docs/getting_started/downloads.html)
|
||||
FROM ubuntu:24.04
|
||||
|
||||
# TODO: Clean this up once buildkit is supported gracefully in devcontainers
|
||||
# https://github.com/microsoft/vscode-remote-release/issues/1409
|
||||
@ -27,7 +25,9 @@ RUN apt-get update \
|
||||
# ca certs need to be available for fetching git submodules
|
||||
ca-certificates \
|
||||
# python is used to convert binaries to uf2 files
|
||||
python3 python-is-python3
|
||||
python3 python-is-python3 \
|
||||
# emscripten for building simulator
|
||||
emscripten
|
||||
|
||||
# Download and verify both x86-64 and aarch64 toolchains. This is unfortunate and
|
||||
# slows down the build, but it's a clean-ish option until buildkit can be used.
|
||||
@ -47,4 +47,4 @@ RUN /bin/sh -c 'set -ex && \
|
||||
fi'
|
||||
|
||||
RUN rm $X86_64_TOOLCHAIN_FILENAME
|
||||
RUN rm $AARCH64_TOOLCHAIN_FILENAME
|
||||
RUN rm $AARCH64_TOOLCHAIN_FILENAME
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户