Skip to content

Commit

Permalink
attempting to get a build working in docker
Browse files Browse the repository at this point in the history
 * it doesn't compile
compiling Mpris2/MediaPlayer2Player.cpp
Mpris2/MediaPlayer2Player.cpp:27:38: fatal error: ../Services/RadioService.h: No such file or directory
 #include "../Services/RadioService.h"
                                      ^
compilation terminated.
Makefile:1608: recipe for target '_build/MediaPlayer2Player.o' failed
make[1]: *** [_build/MediaPlayer2Player.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/app/client'
Makefile:188: recipe for target 'sub-app-client-make_default-ordered' failed
make: *** [sub-app-client-make_default-ordered] Error 2

 * got bored and gave up due to finding this:
   lastfm#54 (comment)
  • Loading branch information
chabala committed May 7, 2021
1 parent f5962d1 commit e568ed5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git

19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# using minideb as a debian base image https://github.com/bitnami/minideb
# handy reference to debain release names https://www.debian.org/releases/
# libgpod-nogtk-dev appeared in jessie, so that is the assumed provenance for the build working
# build-essential provides make and g++
FROM bitnami/minideb:jessie
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true

RUN install_packages libavformat-dev libgpod-nogtk-dev liblastfm-dev \
libqt4-dev libqtwebkit-dev pkg-config \
zlib1g-dev \
libphonon-dev \
build-essential
WORKDIR /tmp
COPY . /tmp/
RUN \
qmake -r && \
make -j4

0 comments on commit e568ed5

Please sign in to comment.