2018-06-23 20:48:33 +08:00
|
|
|
FROM fedora:28
|
2018-06-22 19:18:30 +08:00
|
|
|
|
|
|
|
MAINTAINER tbd
|
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
|
2018-06-23 20:48:33 +08:00
|
|
|
RUN dnf install -y \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
clang \
|
|
|
|
llvm \
|
2018-06-22 19:18:30 +08:00
|
|
|
make \
|
2018-06-23 20:48:33 +08:00
|
|
|
patch \
|
|
|
|
findutils \
|
|
|
|
which \
|
2018-06-22 19:18:30 +08:00
|
|
|
bison \
|
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
binutils \
|
|
|
|
cabextract \
|
2018-06-23 20:48:33 +08:00
|
|
|
libcurl-devel \
|
|
|
|
elfutils-libelf-devel \
|
|
|
|
elfutils-libelf-devel-static \
|
|
|
|
libdwarf-devel \
|
|
|
|
libdwarf-static \
|
2018-06-22 19:18:30 +08:00
|
|
|
jq \
|
2018-06-23 20:48:33 +08:00
|
|
|
pkgconf-pkg-config \
|
|
|
|
glib2 \
|
|
|
|
glib2-devel \
|
|
|
|
ncurses-devel \
|
2018-06-22 19:18:30 +08:00
|
|
|
gnupg2 \
|
2018-06-23 20:48:33 +08:00
|
|
|
python2-pip \
|
|
|
|
xz
|
2018-06-22 19:18:30 +08:00
|
|
|
|
|
|
|
RUN rm -rf /src/.nvm && git clone https://github.com/creationix/nvm.git /src/.nvm && (cd /src/.nvm && git checkout `git describe --abbrev=0 --tags`) && . /src/.nvm/nvm.sh && nvm install 8.11.3
|
|
|
|
|
|
|
|
CMD []
|