Skip to content

Commit 0c159ef

Browse files
committed
fix build (hopefully)
1 parent f5a44aa commit 0c159ef

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tools/docker-env/linux-gnu-crossbuild-i686.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ RUN dpkg --add-architecture i386 \
1212
wget \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15-
RUN mkdir /cmake
15+
16+
RUN mkdir -p /cmake /usr
1617

1718
RUN wget -O- "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-linux-$(uname -m).tar.gz" \
1819
| tar -xz --strip-components=1 -C /cmake
1920

20-
RUN cp /cmake/bin/* /bin/
21+
RUN cp -r /cmake/. /usr/
2122

2223
RUN groupadd -g 911 build \
2324
&& useradd -mN -u 911 -g 911 build

tools/docker-env/linux-gnu.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ RUN apt-get update \
1010
wget \
1111
&& rm -rf /var/lib/apt/lists/*
1212

13-
RUN mkdir /cmake
13+
RUN mkdir -p /cmake /usr
1414

1515
RUN wget -O- "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-linux-$(uname -m).tar.gz" \
1616
| tar -xz --strip-components=1 -C /cmake
1717

18-
RUN cp /cmake/bin/* /bin/
18+
RUN cp -r /cmake/. /usr/
1919

2020
RUN groupadd -g 911 build \
2121
&& useradd -mN -u 911 -g 911 build

0 commit comments

Comments
 (0)