Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Irreq committed Aug 8, 2024
1 parent 07dfb86 commit 04d42d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# docker run -v $(pwd):/usr/src/app -e DISPLAY=$DISPLAY -it --network=host -v /tmp/.X11-unix:/tmp/.X11-unix -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native -v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native -v /run/dbus:/run/dbus --device /dev/snd beamformer bash
#

FROM ubuntu:22.04 AS deps
FROM ubuntu:22.04

ENV TZ=Europe \
DEBIAN_FRONTEND=noninteractive \
Expand Down Expand Up @@ -71,8 +71,6 @@ RUN git submodule init \
&& cmake -Bbuild -H. -DPAHO_WITH_MQTT_C=ON -DPAHO_WITH_SSL=ON \
&& cmake --build build/ --target install

FROM deps AS build

WORKDIR /
RUN git clone https://github.com/acoustic-warfare/WARA-PS-MQTT-Agent.git
WORKDIR /WARA-PS-MQTT-Agent
Expand Down Expand Up @@ -100,4 +98,6 @@ WORKDIR /usr/src/app

# Add configs for sound and start pulse audio
COPY src/audio/daemon.conf /etc/pulse/daemon.conf
RUN pulseaudio --start
RUN pulseaudio --start

RUN mkdir -p build && cd build && cmake .. && make

0 comments on commit 04d42d9

Please sign in to comment.