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 lua from 5.3 to 5.2

Fixes coala#144
  • Loading branch information
jayvdb committed Jul 30, 2017
1 parent 6277112 commit c62a738
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 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 @@ -20,17 +20,27 @@ RUN \
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 \
# nodejs 7
--plus-repo http://download.opensuse.org/repositories/devel:languages:nodejs/openSUSE_Tumbleweed/ \
--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/ \
--plus-repo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.2/ \
# luarocks
--plus-repo http://download.opensuse.org/repositories/devel:languages:lua/openSUSE_Factory/ \
--plus-repo http://download.opensuse.org/repositories/devel:languages:lua/openSUSE_Leap_42.2/ \
# ruby 2.2
--plus-repo http://download.opensuse.org/repositories/devel:languages:ruby/openSUSE_Tumbleweed/ \
--plus-repo http://download.opensuse.org/repositories/devel:languages:ruby/openSUSE_Leap_42.2/ \
# python
--plus-repo http://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Leap_42.2/ \
# go
--plus-repo http://download.opensuse.org/repositories/devel:languages:go/openSUSE_Leap_42.2/ \
# rubygem-bundler
--plus-repo http://download.opensuse.org/repositories/home:darix:apps/openSUSE_Leap_42.2/ \
# 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/ \
# flawfinder
--plus-repo http://download.opensuse.org/repositories/home:illuusio/openSUSE_Tumbleweed/ \
# astyle
Expand Down Expand Up @@ -68,10 +78,9 @@ RUN \
devscripts \
# linux-glibc-devel needed for Ruby native extensions
linux-glibc-devel \
liblua5_3-5 \
lua53 \
lua53-devel \
lua53-luarocks \
lua52 \
lua52-devel \
lua52-luarocks \
m4 \
nodejs7 \
npm7 \
Expand Down Expand Up @@ -106,12 +115,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 @@ -123,16 +133,12 @@ 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 \
Expand All @@ -145,15 +151,13 @@ RUN \
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 c62a738

Please sign in to comment.