Skip to content

Commit 58ff0e5

Browse files
authored
fix build
1 parent aaafc32 commit 58ff0e5

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

Dockerfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ ENV DEVKITPRO=/opt/devkitpro
3131
ENV DEVKITARM=/opt/devkitpro/devkitARM
3232
ENV PATH="$PATH:/opt/devkitpro/devkitARM/bin"
3333
# Install netpass packages dependencies
34-
RUN apt-get update && apt-get --no-install-recommends install -y \
34+
RUN apt-get update && apt-get install -y --no-install-recommends \
3535
ffmpeg \
3636
git \
3737
python3 \
3838
python3-pip \
39-
&& apt-get install --only-upgrade cppcheck
39+
ca-certificates \
40+
&& update-ca-certificates \
41+
&& apt-get install --only-upgrade cppcheck \
42+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
43+
4044
# Install Python requirements
41-
RUN pip install PyYAML --break-system-packages
42-
RUN pip install requests
45+
RUN pip install --upgrade pip setuptools wheel && \
46+
pip install --no-cache-dir PyYAML requests
4347
# Link python3 to python
4448
RUN ln -s $(which python3) /usr/bin/python
4549

0 commit comments

Comments
 (0)