Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
don't use custom gcc for ArchLinux build
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkulz committed Jun 22, 2022
1 parent 1e11b91 commit 448dbc9
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions docker/Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ ARG from
FROM ${from}

ENV CFLAGS=-w CXXFLAGS=-w
WORKDIR /root/
RUN curl -o gcc-lib.pkg.tar.xz https://archive.archlinux.org/packages/g/gcc7-libs/gcc7-libs-7.4.1%2B20181207-3-x86_64.pkg.tar.xz && \
curl -o gcc.pkg.tar.xz https://archive.archlinux.org/packages/g/gcc7/gcc7-7.4.1%2B20181207-3-x86_64.pkg.tar.xz && \
pacman -Sy --noconfirm \

RUN pacman -Sy --noconfirm \
diffutils \
fontconfig \
freetype2 \
Expand All @@ -14,9 +12,6 @@ RUN curl -o gcc-lib.pkg.tar.xz https://archive.archlinux.org/packages/g/gcc7-lib
libxrender \
libjpeg-turbo \
libpng \
make && \
pacman -U /root/gcc.pkg.tar.xz /root/gcc-lib.pkg.tar.xz --noconfirm && \
pacman -Scc --noconfirm
RUN ln -s /usr/bin/gcc-7 /usr/bin/gcc && \
ln -s /usr/bin/g++-7 /usr/bin/g++

make \
gcc \
&& pacman -Scc --noconfirm

0 comments on commit 448dbc9

Please sign in to comment.