Skip to content

Commit

Permalink
Update dockerfile as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ober committed Oct 12, 2023
1 parent b57f599 commit 5fcf3f4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG branch
ARG cores
ARG configure_args
ARG packages
ARG shared

FROM ${distro}:latest as base
ARG cores
Expand Down Expand Up @@ -43,13 +44,14 @@ RUN case ${distro} in \
esac

FROM base as gerbil
ARG cores
ARG repo
ARG branch
ARG configure_args
ARG cores
ARG repo
ARG shared
ENV GERBIL_GCC=g++
RUN cd /opt && eval git clone -b "${branch}" "https://github.com/${repo}" gerbil-src \
&& cd /opt/gerbil-src && eval ./configure --prefix=/opt/gerbil --enable-shared=no ${configure_args}
RUN cd /opt && eval git clone -b "${branch}" "https://github.com/${repo}" gerbil-src \
&& cd /opt/gerbil-src && eval ./configure --prefix=/opt/gerbil --enable-shared=${shared} ${configure_args}

RUN cd /opt/gerbil-src && make && make install

Expand Down

0 comments on commit 5fcf3f4

Please sign in to comment.