2021-12-17 22:00:36 -06:00
|
|
|
FROM fedora:34
|
2017-04-14 04:08:13 -05:00
|
|
|
|
2018-04-13 18:31:43 -05:00
|
|
|
RUN dnf update -y
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Install gosu
|
|
|
|
|
2021-12-17 20:57:00 -06:00
|
|
|
RUN dnf install -y curl
|
|
|
|
RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64"
|
|
|
|
RUN chmod +x /usr/local/bin/gosu
|
2018-04-13 18:31:43 -05:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Install dev tools
|
|
|
|
|
|
|
|
RUN dnf install -y clang
|
|
|
|
RUN dnf install -y llvm
|
|
|
|
RUN dnf install -y libasan
|
|
|
|
RUN dnf install -y mingw64-gcc-c++
|
|
|
|
RUN dnf install -y cmake
|
|
|
|
RUN dnf install -y make
|
|
|
|
RUN dnf install -y git
|
|
|
|
RUN dnf install -y vim
|
|
|
|
RUN dnf install -y sudo
|
|
|
|
RUN dnf install -y fuse-devel
|
|
|
|
RUN dnf install -y findutils
|
|
|
|
RUN dnf install -y ninja-build
|
2019-03-07 17:58:42 -06:00
|
|
|
RUN dnf install -y libcxx-devel libcxxabi-devel
|
2020-08-28 19:14:35 -05:00
|
|
|
RUN dnf install -y unzip
|
|
|
|
RUN dnf install -y ccache
|
|
|
|
RUN dnf install -y pacman
|
2021-12-17 20:57:00 -06:00
|
|
|
RUN dnf install -y python3-pip
|
|
|
|
RUN dnf install -y libglvnd-devel
|
|
|
|
RUN dnf install -y gtk3-devel
|
|
|
|
RUN pip install conan
|
2018-04-13 18:31:43 -05:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Install devkitARM
|
|
|
|
|
2019-01-15 22:33:13 -06:00
|
|
|
#RUN dnf install -y lbzip2
|
|
|
|
#RUN curl -o /tmp/devkitArm.tar.bz2 -SL https://phoenixnap.dl.sourceforge.net/project/devkitpro/devkitARM/devkitARM_r47/devkitARM_r47-x86_64-linux.tar.bz2
|
|
|
|
#WORKDIR /opt
|
|
|
|
#RUN tar xf /tmp/devkitArm.tar.bz2
|
|
|
|
#ENV DEVKITARM /opt/devkitARM
|
2018-04-13 18:31:43 -05:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Setup sudoers
|
|
|
|
|
|
|
|
ADD devenv/sudoers /etc/sudoers
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Setup working directory
|
|
|
|
|
|
|
|
RUN mkdir /usr/src/project
|
|
|
|
WORKDIR /usr/src/project
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Setup entrypoint
|
|
|
|
|
|
|
|
ADD devenv/entrypoint.sh /
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
2018-04-13 00:48:14 -05:00
|
|
|
|
2018-04-13 17:42:20 -05:00
|
|
|
ENV CC clang
|
|
|
|
ENV CXX clang++
|
2020-08-28 19:14:35 -05:00
|
|
|
ENV VCPKG_DIR_BASE /var/vcpkg/
|