chore: fedora dockerfile

This commit is contained in:
Alex 2019-05-07 13:10:57 +02:00
parent e5d5735e9d
commit 77d9dd06af
2 changed files with 7 additions and 2 deletions

View File

@ -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"
- docker run waybar /bin/sh -c "cd /root && git clone --depth=1 https://github.com/swaywm/wlroots subprojects/wlroots && meson build && ninja -C build"

5
Dockerfiles/fedora Normal file
View File

@ -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