Skip to content

Commit

Permalink
Update to GAP 4.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-konovalov committed May 9, 2018
1 parent 7ea79a9 commit ba8b6c1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@ RUN adduser --quiet --shell /bin/bash --gecos "GAP user,101,," --disabled-pas

RUN mkdir -p /home/gap/inst \
&& cd /home/gap/inst \
&& wget https://www.gap-system.org/pub/gap/gap4core/gap4r8p10_nopackages.zip \
&& unzip gap4r8p10_nopackages.zip \
&& rm gap4r8p10_nopackages.zip \
&& cd gap4r8 \
&& wget https://www.gap-system.org/Manuals/gap-4.8.10-manuals.tar.gz \
&& tar xvzf gap-4.8.10-manuals.tar.gz \
&& rm gap-4.8.10-manuals.tar.gz \
&& wget https://www.gap-system.org/pub/gap/gap4core/gap-4.9.1-core.zip \
&& unzip gap-4.9.1-core.zip \
&& rm gap-4.9.1-core.zip \
&& cd gap-4.9.1 \
&& wget https://www.gap-system.org/Manuals/gap-4.9.1-manuals.tar.gz \
&& tar xvzf gap-4.9.1-manuals.tar.gz \
&& rm gap-4.9.1-manuals.tar.gz \
&& ./configure --with-gmp=system \
&& make \
&& cp bin/gap.sh bin/gap \
&& mkdir pkg \
&& cd pkg \
&& wget https://www.gap-system.org/pub/gap/gap4pkgs/packages-required-stable-v4.8.10.tar.gz \
&& tar xvzf packages-required-stable-v4.8.10.tar.gz \
&& rm packages-required-stable-v4.8.10.tar.gz \
&& wget https://www.gap-system.org/pub/gap/gap4pkgs/packages-required-stable-v4.9.1.tar.gz \
&& tar xvzf packages-required-stable-v4.9.1.tar.gz \
&& rm packages-required-stable-v4.9.1.tar.gz \
&& chown -R gap:gap /home/gap/inst

# Set up new user and home directory in environment.
# Note that WORKDIR will not expand environment variables in docker versions < 1.3.1.
# See docker issue 2637: https://github.com/docker/docker/issues/2637
USER gap
ENV HOME /home/gap
ENV GAP_HOME /home/gap/inst/gap4r8
ENV GAP_HOME /home/gap/inst/gap-4.9.1
ENV PATH ${GAP_HOME}/bin:${PATH}

# Start at $HOME.
Expand Down

0 comments on commit ba8b6c1

Please sign in to comment.