forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
22 lines (19 loc) · 1.3 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.208.0/containers/cpp/.devcontainer/base.Dockerfile
# [Choice] Debian / Ubuntu version (use Debian 11/9, Ubuntu 18.04/21.04 on local arm64/Apple Silicon): debian-11, debian-10, debian-9, ubuntu-21.04, ubuntu-20.04, ubuntu-18.04
ARG VARIANT=debian-11
FROM mcr.microsoft.com/devcontainers/cpp:0-${VARIANT}
ENV DBUS_SESSION_BUS_ADDRESS="autolaunch:" DISPLAY=":1" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"
# Install C++ dependencies
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends build-essential git liblua5.1-dev \
zlib1g-dev libhunspell-dev libpcre3-dev libzip-dev libboost-dev libyajl-dev \
libpulse-dev lua-rex-pcre lua-filesystem lua-zip lua-sql-sqlite3 qtbase5-dev \
qtchooser qt5-qmake qtbase5-dev-tools qtmultimedia5-dev qttools5-dev luarocks\
ccache libpugixml-dev libqt5texttospeech5-dev qtspeech5-flite-plugin \
qtspeech5-speechd-plugin libqt5opengl5-dev ninja-build firefox-esr \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Lua dependencies
RUN luarocks install luautf8 \
&& luarocks install lua-yajl \
&& luarocks install busted