mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-10 04:04:42 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user