Skip to content

Commit ee2b35a

Browse files
Fix Error in GHC Build
1 parent 1693086 commit ee2b35a

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

Dockerfile

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ENV OCTAVE_VERSIONS \
6969
10.3.0
7070
RUN set -xe && \
7171
apt update && \
72-
apt install -y libopenblas-dev liblapack-dev libpcre2-dev libarpack2-dev \
72+
apt install -y --no-install-recommends libopenblas-dev liblapack-dev libpcre2-dev libarpack2-dev \
7373
libcurl4-gnutls-dev epstool libfftw3-dev fig2dev libfltk1.3-dev \
7474
libfontconfig1-dev libfreetype-dev libgl2ps-dev libglpk-dev libreadline-dev \
7575
gnuplot libgraphicsmagick++1-dev libhdf5-dev openjdk-21-jdk libsndfile1-dev \
@@ -136,8 +136,8 @@ RUN set -xe && \
136136
ENV HASKELL_VERSIONS \
137137
9.12.2
138138
RUN set -xe && \
139-
apt-get update && \
140-
apt-get install -y --no-install-recommends libgmp-dev libtinfo5 && \
139+
apt update && \
140+
apt install -y --no-install-recommends libgmp-dev libnuma-dev libncurses-dev && \
141141
rm -rf /var/lib/apt/lists/* && \
142142
for VERSION in $HASKELL_VERSIONS; do \
143143
curl -fSsL "https://downloads.haskell.org/~ghc/$VERSION/ghc-$VERSION-x86_64-deb12-linux.tar.xz" -o /tmp/ghc-$VERSION.tar.xz && \
@@ -155,8 +155,8 @@ RUN set -xe && \
155155
ENV MONO_VERSIONS \
156156
6.12.0.206
157157
RUN set -xe && \
158-
apt-get update && \
159-
apt-get install -y --no-install-recommends cmake && \
158+
apt update && \
159+
apt install -y --no-install-recommends cmake && \
160160
rm -rf /var/lib/apt/lists/* && \
161161
for VERSION in $MONO_VERSIONS; do \
162162
curl -fSsL "https://download.mono-project.com/sources/mono/mono-$VERSION.tar.xz" -o /tmp/mono-$VERSION.tar.xz && \
@@ -192,8 +192,8 @@ RUN set -xe && \
192192
ENV ERLANG_VERSIONS \
193193
28.1.1
194194
RUN set -xe && \
195-
apt-get update && \
196-
apt-get install -y --no-install-recommends unzip && \
195+
apt update && \
196+
apt install -y --no-install-recommends unzip && \
197197
rm -rf /var/lib/apt/lists/* && \
198198
for VERSION in $ERLANG_VERSIONS; do \
199199
curl -fSsL "https://github.com/erlang/otp/releases/download/OTP-$VERSION/otp_src_$VERSION.tar.gz" -o /tmp/erlang-$VERSION.tar.gz && \
@@ -214,8 +214,8 @@ RUN set -xe && \
214214
# ENV ELIXIR_VERSIONS \
215215
# 1.19.1
216216
# RUN set -xe && \
217-
# apt-get update && \
218-
# apt-get install -y --no-install-recommends unzip && \
217+
# apt update && \
218+
# apt install -y --no-install-recommends unzip && \
219219
# rm -rf /var/lib/apt/lists/* && \
220220
# for VERSION in $ELIXIR_VERSIONS; do \
221221
# curl -fSsL "https://github.com/elixir-lang/elixir/releases/download/v$VERSION/Precompiled.zip" -o /tmp/elixir-$VERSION.zip && \
@@ -283,8 +283,8 @@ RUN set -xe && \
283283
ENV PHP_VERSIONS \
284284
8.4
285285
RUN set -xe && \
286-
apt-get update && \
287-
apt-get install -y --no-install-recommends bison re2c && \
286+
apt update && \
287+
apt install -y --no-install-recommends bison re2c && \
288288
rm -rf /var/lib/apt/lists/* && \
289289
for VERSION in $PHP_VERSIONS; do \
290290
curl -fSsL "https://codeload.github.com/php/php-src/tar.gz/php-$VERSION" -o /tmp/php-$VERSION.tar.gz && \
@@ -329,8 +329,8 @@ ENV TYPESCRIPT_VERSIONS \
329329
5.9.3
330330
RUN set -xe && \
331331
curl -fSsL "https://deb.nodesource.com/setup_22.x" | bash - && \
332-
apt-get update && \
333-
apt-get install -y --no-install-recommends nodejs && \
332+
apt update && \
333+
apt install -y --no-install-recommends nodejs && \
334334
rm -rf /var/lib/apt/lists/* && \
335335
for VERSION in $TYPESCRIPT_VERSIONS; do \
336336
npm install -g typescript@$VERSION; \
@@ -377,8 +377,8 @@ RUN set -xe && \
377377
ENV SBCL_VERSIONS \
378378
2.5.10
379379
RUN set -xe && \
380-
apt-get update && \
381-
apt-get install -y --no-install-recommends bison re2c && \
380+
apt update && \
381+
apt install -y --no-install-recommends bison re2c && \
382382
rm -rf /var/lib/apt/lists/* && \
383383
for VERSION in $SBCL_VERSIONS; do \
384384
curl -fSsL "https://downloads.sourceforge.net/project/sbcl/sbcl/$VERSION/sbcl-$VERSION-x86-64-linux-binary.tar.bz2" -o /tmp/sbcl-$VERSION.tar.bz2 && \
@@ -411,8 +411,8 @@ RUN set -xe && \
411411
ENV SWIFT_VERSIONS \
412412
6.2
413413
RUN set -xe && \
414-
apt-get update && \
415-
apt-get install -y --no-install-recommends libncurses5 && \
414+
apt update && \
415+
apt install -y --no-install-recommends libncurses5 && \
416416
rm -rf /var/lib/apt/lists/* && \
417417
for VERSION in $SWIFT_VERSIONS; do \
418418
curl -fSsL "https://download.swift.org/swift-$VERSION-release/ubuntu2404/swift-$VERSION-RELEASE/swift-$VERSION-RELEASE-ubuntu24.04.tar.gz" -o /tmp/swift-$VERSION.tar.gz && \
@@ -436,16 +436,16 @@ RUN set -xe && \
436436
# Check for latest version here: https://packages.debian.org/buster/clang-7
437437
# Used for additional compilers for C, C++ and used for Objective-C.
438438
RUN set -xe && \
439-
apt-get update && \
440-
apt-get install -y --no-install-recommends clang-14 gnustep-devel && \
439+
apt update && \
440+
apt install -y --no-install-recommends clang-14 gnustep-devel && \
441441
rm -rf /var/lib/apt/lists/*
442442

443443
# Check for latest version here: https://cloud.r-project.org/src/base
444444
ENV R_VERSIONS \
445445
4.5.2
446446
RUN set -xe && \
447-
apt-get update && \
448-
apt-get install -y --no-install-recommends libpcre2-dev && \
447+
apt update && \
448+
apt install -y --no-install-recommends libpcre2-dev && \
449449
rm -rf /var/lib/apt/lists/* && \
450450
for VERSION in $R_VERSIONS; do \
451451
curl -fSsL "https://cloud.r-project.org/src/base/R-4/R-$VERSION.tar.gz" -o /tmp/r-$VERSION.tar.gz && \
@@ -463,8 +463,8 @@ RUN set -xe && \
463463
# Check for latest version here: https://packages.debian.org/buster/sqlite3
464464
# Used for support of SQLite.
465465
RUN set -xe && \
466-
apt-get update && \
467-
apt-get install -y --no-install-recommends sqlite3 && \
466+
apt update && \
467+
apt install -y --no-install-recommends sqlite3 && \
468468
rm -rf /var/lib/apt/lists/*
469469

470470
# Check for latest version here: https://scala-lang.org
@@ -483,16 +483,16 @@ RUN set -xe && \
483483
# Check for latest version here: https://github.com/clojure/clojure/releases
484484
ENV CLOJURE_VERSION 1.12.3
485485
RUN set -xe && \
486-
apt-get update && \
487-
apt-get install -y --no-install-recommends maven && \
486+
apt update && \
487+
apt install -y --no-install-recommends maven && \
488488
cd /tmp && \
489489
git clone https://github.com/clojure/clojure && \
490490
cd clojure && \
491491
git checkout clojure-$CLOJURE_VERSION && \
492492
mvn -Plocal -Dmaven.test.skip=true package && \
493493
mkdir /usr/local/clojure-$CLOJURE_VERSION && \
494494
cp clojure.jar /usr/local/clojure-$CLOJURE_VERSION && \
495-
apt-get remove --purge -y maven && \
495+
apt remove --purge -y maven && \
496496
rm -rf /var/lib/apt/lists/* /tmp/*
497497

498498
# Check for latest version here: https://github.com/dotnet/sdk/releases
@@ -509,16 +509,16 @@ RUN set -xe && \
509509
rm -rf /tmp/*
510510

511511
RUN set -xe && \
512-
apt-get update && \
513-
apt-get install -y --no-install-recommends locales && \
512+
apt update && \
513+
apt install -y --no-install-recommends locales && \
514514
rm -rf /var/lib/apt/lists/* && \
515515
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
516516
locale-gen
517517
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
518518

519519
RUN set -xe && \
520-
apt-get update && \
521-
apt-get install -y --no-install-recommends git libcap-dev && \
520+
apt update && \
521+
apt install -y --no-install-recommends git libcap-dev && \
522522
rm -rf /var/lib/apt/lists/* && \
523523
git clone https://github.com/judge0/isolate.git /tmp/isolate && \
524524
cd /tmp/isolate && \

0 commit comments

Comments
 (0)