gj_common: Install infer in the docker container

Going back to Ubuntu as I can't seem to get 'infer' to work in alpine.
This commit is contained in:
Vishesh Handa
2019-10-19 14:59:19 +01:00
parent f694536469
commit d1e97d0e85

@ -1,7 +1,13 @@
FROM alpine:latest
FROM ubuntu:18.10
RUN apk update
RUN apk add clang libgit2-dev
RUN apk add bash make libc-dev g++ vim gdb
RUN apk add musl-dbg git
RUN apk add curl cppcheck
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Madrid
RUN apt-get update
RUN apt-get install -y libssh2-1-dev curl gdb cppcheck xz-utils sudo libtinfo5
RUN apt-get install -y cmake libssl-dev pkg-config zlib1g-dev clang tzdata
COPY . /opt
RUN /opt/install_infer.sh
RUN cd /opt && ./build-libgit2.sh