Skip to content

Commit

Permalink
Switch to using openSUSE Leap 42.2
Browse files Browse the repository at this point in the history
Leap is more stable than Tumbleweed.
Downgrades ruby 2.2 to 2.1

Fixes #144
  • Loading branch information
jayvdb committed Jul 11, 2017
1 parent c8a44cb commit 435fbd0
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM opensuse:tumbleweed
FROM opensuse:leap
MAINTAINER Fabian Neuschmidt [email protected]

ARG branch=master
Expand All @@ -14,21 +14,28 @@ ENV LANG=en_US.UTF-8 \
RUN mkdir -p /root/.local/share/coala && \
ln -s /root/.local/share/coala /cache


RUN \
zypper addlock \
postfix \
&& \
# Remove unnecessary repos to avoid refreshes
zypper removerepo 'NON-OSS' && \
zypper removerepo 'NON-OSS' 'Update Non-Oss' && \
# Package dependencies
time zypper --no-gpg-checks --non-interactive \
# For lua & luarocks
--plus-repo http://download.opensuse.org/repositories/devel:languages:lua/openSUSE_Leap_42.2/ \
# For go 1.8, especially gotype
--plus-repo http://download.opensuse.org/repositories/devel:languages:go/openSUSE_Leap_42.2/ \
# For nodejs6
--plus-repo http://download.opensuse.org/repositories/devel:languages:nodejs/openSUSE_Leap_42.2/ \
# science contains latest Julia
--plus-repo http://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/ \
# luarocks
--plus-repo http://download.opensuse.org/repositories/devel:languages:lua/openSUSE_Tumbleweed/ \
--plus-repo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.2/ \
# flawfinder
--plus-repo http://download.opensuse.org/repositories/home:illuusio/openSUSE_Tumbleweed/ \
# clang
--plus-repo http://download.opensuse.org/repositories/devel:tools:compiler/openSUSE_Leap_42.2/ \
# php7-imagemagick
--plus-repo http://download.opensuse.org/repositories/home:flacco:rtk:php7/openSUSE_Leap_42.2/ \
install \
bzr \
cppcheck \
Expand Down Expand Up @@ -60,8 +67,8 @@ RUN \
devscripts \
# linux-glibc-devel needed for Ruby native extensions
linux-glibc-devel \
lua \
lua-devel \
lua51 \
lua51-devel \
luarocks \
m4 \
nodejs6 \
Expand All @@ -88,7 +95,7 @@ RUN \
R-base \
ruby \
ruby-devel \
ruby2.2-rubygem-bundler \
ruby2.1-rubygem-bundler \
ShellCheck \
subversion \
tar \
Expand All @@ -98,12 +105,13 @@ RUN \
aaa_base \
cron \
cronie \
dbus-1 \
fdupes \
fontconfig \
fonts-config \
kbd \
kmod \
libdrm_amdgpu1 \
libdrm_intel1 \
libdrm_nouveau2 \
libdrm_radeon1 \
libICE6 \
libthai-data \
libxcb1 libxcb-render0 libxcb-shm0 \
Expand All @@ -115,33 +123,27 @@ RUN \
libXmuu1 \
libXrender1 \
libXss1 libXt6 \
lksctp-tools \
logrotate \
ncurses-utils \
openssh \
openslp \
perl-File-ShareDir \
perl-Net-DBus \
perl-Pod-Coverage \
perl-Test-Pod \
perl-Test-Pod-Coverage \
perl-X11-Protocol \
php7-zlib \
python-curses \
python-rpm-macros \
python-Pygments \
python-xml \
R-core-doc \
rsync \
systemd \
texlive-gsftopk \
texlive-gsftopk-bin \
systemd-presets-branding-openSUSE \
texlive-kpathsea \
texlive-kpathsea-bin \
texlive-tetex-bin \
texlive-texconfig \
texlive-texconfig-bin \
texlive-texlive.infra \
texlive-updmap-map \
xhost \
xorg-x11-fonts \
xorg-x11-fonts-core \
Expand Down

0 comments on commit 435fbd0

Please sign in to comment.