Skip to content

Commit 0117735

Browse files
authored
Merge pull request #137 from @SEC-RKatayama closing #136
Modified Dockerfile to avoid build error
2 parents 3bbbaa2 + 28ac779 commit 0117735

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zynq_rtems/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ RUN mkdir -p /root/rtems/6
3939
ENV PREFIX /root/rtems/6
4040
ENV RTEMS_VERSION 6
4141

42+
ENV LANG C.UTF-8
43+
4244
RUN mkdir -p /root/rtems
4345
WORKDIR /root/rtems
4446

@@ -77,7 +79,7 @@ RUN ./waf install
7779
WORKDIR /root
7880
RUN git clone https://github.com/eclipse-zenoh/zenoh-pico
7981
RUN mkdir /root/zenoh-pico/build
80-
RUN wget -q https://raw.githubusercontent.com/space-ros/docker/zynq_rtems_zenoh_pico/zynq_rtems/toolchain.cmake -O /root/toolchain.cmake
82+
COPY toolchain.cmake /root
8183
WORKDIR /root/zenoh-pico/build
8284
RUN cmake -DCMAKE_TOOLCHAIN_FILE=/root/toolchain.cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TOOLS=OFF -DBUILD_TESTING=OFF ..
8385
RUN make

0 commit comments

Comments
 (0)