Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing mqtt broker, clients and library from dedicated ppa #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
custom-images:
strategy:
matrix:
build-type: [UbuntuBased, WolframBased, Frog, Latex]
build-type: [UbuntuBased, WolframBased, Frog, Latex, MqttWolframBased]

runs-on: ubuntu-latest
if: github.event_name == 'push'
Expand Down
11 changes: 11 additions & 0 deletions MqttWolframBased/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM wolframresearch/wolframengine:latest
USER root
RUN apt update && DEBIAN_FRONTEND=noninteractive apt upgrade -yy && DEBIAN_FRONTEND=noninteractive apt install -yy racket apport expect lldb strace clang-format clang-tidy swig clang cmake curl git uuid-dev software-properties-common emacs-nox && DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:git-core/ppa && DEBIAN_FRONTEND=noninteractive apt update -yy && DEBIAN_FRONTEND=noninteractive apt install -yy git
RUN apt update && apt install wget && wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" && apt update && apt install -y cmake clang-11 clang-tidy-11
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && apt update && apt install gh
RUN raco pkg install --deps search-auto threading || true
# K: installing mqtt broker, clients and library from dedicated ppa
RUN apt-add-repository ppa:mosquitto-dev/mosquitto-ppa -y
RUN apt update
RUN apt install mosquitto mosquitto-clients libmosquitto-dev -y
CMD /bin/bash