mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
3576df9d79
Disabled a whole bunch of rules from the MISRA-C set. Some of them should be fixed, but most of the ones we violate have good reasons. This PR documents those reasons.
21 lines
545 B
Docker
21 lines
545 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
ca-certificates \
|
|
cppcheck \
|
|
libopus-dev \
|
|
libsodium-dev \
|
|
libvpx-dev \
|
|
make \
|
|
wget \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY toxav/ /src/workspace/c-toxcore/toxav/
|
|
COPY toxcore/ /src/workspace/c-toxcore/toxcore/
|
|
COPY toxencryptsave/ /src/workspace/c-toxcore/toxencryptsave/
|
|
COPY third_party/cmp/cmp.h /src/workspace/c-toxcore/third_party/cmp/cmp.h
|
|
COPY other/docker/misra/Makefile /src/workspace/
|
|
WORKDIR /src/workspace
|
|
RUN ["make"]
|