mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
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:
@ -1,7 +1,13 @@
|
|||||||
FROM alpine:latest
|
FROM ubuntu:18.10
|
||||||
|
|
||||||
RUN apk update
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN apk add clang libgit2-dev
|
ENV TZ Europe/Madrid
|
||||||
RUN apk add bash make libc-dev g++ vim gdb
|
|
||||||
RUN apk add musl-dbg git
|
RUN apt-get update
|
||||||
RUN apk add curl cppcheck
|
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
|
||||||
|
Reference in New Issue
Block a user