Fix Dockerfile env

This commit is contained in:
Toby Jaffey 2025-12-11 16:08:21 +00:00
parent d8fc42a546
commit 9287d7f6f4

View file

@ -1,6 +1,6 @@
FROM ubuntu:25.04 FROM ubuntu:25.04
ENV LANG C.UTF-8 ENV LANG=C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL=C.UTF-8
RUN apt-get -y update RUN apt-get -y update
# tzdata # tzdata
@ -17,9 +17,9 @@ RUN apt-get install -y gcc-riscv64-unknown-elf build-essential
# zig # zig
RUN apt-get install -y curl RUN apt-get install -y curl
RUN curl https://raw.githubusercontent.com/tristanisham/zvm/master/install.sh | bash RUN curl https://raw.githubusercontent.com/tristanisham/zvm/master/install.sh | bash
ENV ZVM_INSTALL /root/.zvm/self ENV ZVM_INSTALL=/root/.zvm/self
ENV PATH "$PATH:/root/.zvm/bin:/root/.zvm/self" ENV PATH="$PATH:/root/.zvm/bin:/root/.zvm/self"
ENV PATH "$PATH:/root/.zvm/bin" ENV PATH="$PATH:/.zvm/bin"
RUN zvm i 0.15.2 RUN zvm i 0.15.2
# rust # rust
@ -32,3 +32,4 @@ RUN apt-get install -y libclang1
RUN curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh RUN curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
RUN arduino-cli core install arduino:avr RUN arduino-cli core install arduino:avr
RUN apt-get install -y qemu-system-misc RUN apt-get install -y qemu-system-misc