From 77d9dd06af1ae0b480d58eaab030444d0c937bb5 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 May 2019 13:10:57 +0200 Subject: [PATCH] chore: fedora dockerfile --- .travis.yml | 4 ++-- Dockerfiles/fedora | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 Dockerfiles/fedora diff --git a/.travis.yml b/.travis.yml index 3dc9258a..03e9fe55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ services: env: - distro: debian - distro: archlinux - # - distro: opensuse + - distro: opensuse before_install: - docker pull alexays/waybar:${distro} @@ -15,4 +15,4 @@ script: - echo FROM alexays/waybar:${distro} > Dockerfile - echo ADD . /root >> Dockerfile - docker build -t waybar . - - docker run waybar /bin/sh -c "cd /root && git clone https://github.com/swaywm/wlroots subprojects/wlroots && meson build && ninja -C build" \ No newline at end of file + - docker run waybar /bin/sh -c "cd /root && git clone --depth=1 https://github.com/swaywm/wlroots subprojects/wlroots && meson build && ninja -C build" \ No newline at end of file diff --git a/Dockerfiles/fedora b/Dockerfiles/fedora new file mode 100644 index 00000000..50940f09 --- /dev/null +++ b/Dockerfiles/fedora @@ -0,0 +1,5 @@ +FROM fedora:30 + +RUN dnf install sway meson git libinput-devel wayland-devel wayland-protocols-devel egl-wayland-devel mesa-libEGL-devel mesa-libGLES-devel mesa-libgbm-devel libxkbcommon-devel libudev-devel pixman-devel gtkmm30-devel jsoncpp-devel -y && \ + dnf group install "C Development Tools and Libraries" && \ + dnf clean all