Skip to content

Commit

Permalink
Switch to using openSUSE Leap 42.2
Browse files Browse the repository at this point in the history
Downgrades:

- lua 5.3 to 5.1
- ruby 2.2 to 2.1

De-activate GoTypeBear due to openSUSE packaging bugs.

Fixes coala#144
  • Loading branch information
jayvdb committed Jun 19, 2017
1 parent 51fb17d commit c471038
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ script:
cd /coala-bears;
rm bears/Constants.py; # There are no tests covering this module
rm bears/c_languages/CSharpLintBear.py tests/c_languages/CSharpLintBearTest.py;
rm bears/go/GoTypeBear.py tests/go/GoTypeBearTest.py;
rm bears/java/InferBear.py tests/java/InferBearTest.py;
rm bears/haskell/GhcModBear.py tests/haskell/GhcModBearTest.py;
rm -r bears/verilog tests/verilog/;
Expand Down
39 changes: 20 additions & 19 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,16 +14,21 @@ ENV LANG=en_US.UTF-8 \
RUN mkdir -p /root/.local/share/coala && \
ln -s /root/.local/share/coala /cache

# Add packaged flawfinder
RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openSUSE_Tumbleweed/home:illuusio.repo && \
RUN \
# 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 \
# flawfinder
--plus-repo http://download.opensuse.org/repositories/home:illuusio/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/ \
--plus-repo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.2/ \
# luarocks
--plus-repo http://download.opensuse.org/repositories/devel:languages:lua/openSUSE_Tumbleweed/ \
--plus-repo http://download.opensuse.org/repositories/home:malkavi/openSUSE_Leap_42.2/ \
# clang
--plus-repo http://download.opensuse.org/repositories/devel:tools:compiler/openSUSE_Leap_42.2/ \
install \
bzr \
cppcheck \
Expand Down Expand Up @@ -55,8 +60,8 @@ RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openS
devscripts \
# linux-glibc-devel needed for Ruby native extensions
linux-glibc-devel \
lua \
lua-devel \
lua51 \
lua51-devel \
luarocks \
m4 \
nodejs6 \
Expand All @@ -83,7 +88,7 @@ RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openS
R-base \
ruby \
ruby-devel \
ruby2.2-rubygem-bundler \
ruby2.1-rubygem-bundler \
ShellCheck \
subversion \
tar \
Expand All @@ -93,13 +98,14 @@ RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openS
aaa_base \
cron \
cronie \
dbus-1 \
fdupes \
fontconfig \
fonts-config \
kbd \
iproute2 \
kmod \
libdrm_amdgpu1 \
libdrm_intel1 \
libdrm_nouveau2 \
libdrm_radeon1 \
libICE6 \
libnl-config \
libthai-data \
Expand All @@ -119,14 +125,11 @@ RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openS
openslp \
perl-File-ShareDir \
perl-Net-DBus \
perl-Pod-Coverage \
perl-Test-Pod \
perl-Test-Pod-Coverage \
perl-X11-Protocol \
postfix \
php7-zlib \
python-curses \
python-rpm-macros \
python-Pygments \
python-xml \
R-core-doc \
rsync \
Expand All @@ -135,15 +138,13 @@ RUN zypper addrepo http://download.opensuse.org/repositories/home:illuusio/openS
sysconfig-netconfig \
syslog-service \
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 \
util-linux-systemd \
wicked \
wicked-service \
Expand Down

0 comments on commit c471038

Please sign in to comment.