Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
145
Issues
145
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
383d84d6
Verified
Commit
383d84d6
authored
Mar 11, 2025
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dockerfile] simplify dependencies, fix missing nix files
parent
fb33ee80
Pipeline
#7425
passed with stages
in 43 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
Dockerfile
devops/docker/Dockerfile
+3
-19
No files found.
devops/docker/Dockerfile
View file @
383d84d6
...
...
@@ -3,9 +3,6 @@ FROM ubuntu:noble
## NOTA BENE: In order for this to be built successfully, you have to run ./devops/coreNLP/build.sh first.
ARG
DEBIAN_FRONTEND=noninteractive
#ARG GHC=9.6.6
#ARG CORENLP=4.5.8
#ARG CORE
ENV
TZ=Europe/Rome
ENV
LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
...
...
@@ -18,27 +15,15 @@ ENV PATH=/root/.local/bin:$PATH
RUN
apt-get update
&&
\
apt-get
install
--no-install-recommends
-y
\
apt-transport-https
\
#autoconf
\
#automake
\
#build-essential
\
ca-certificates
\
curl
\
git
\
gnupg2
\
#libffi-dev
\
#libffi8
\
#libgmp-dev
\
#libgmp10
\
#libncurses-dev
\
#libncurses6
\
#libnuma-dev
\
#libtinfo6
\
locales
\
#lsb-release
\
software-properties-common
\
sudo
\
xz-utils
\
zlib1g-dev
\
#
zlib1g-dev
\
unzip
&&
\
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
&&
\
mkdir
-m
0755 /nix
&&
groupadd
-r
nixbld
&&
chown
root /nix
&&
\
...
...
@@ -51,9 +36,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
COPY
./shell.nix /builds/gargantext/shell.nix
COPY
./nix/pkgs.nix /builds/gargantext/nix/pkgs.nix
COPY
./nix/corenlp.nix /builds/gargantext/nix/corenlp.nix
COPY
./nix/graphviz.nix /builds/gargantext/nix/graphviz.nix
COPY
./nix/igraph.nix /builds/gargantext/nix/igraph.nix
COPY
./nix/pinned-25.05.nix /builds/gargantext/nix/pinned-25.05.nix
COPY
./devops/coreNLP/build.sh /root/devops/coreNLP/build.sh
#COPY ./devops/coreNLP/startServer.sh /root/devops/coreNLP/startServer.sh
COPY
./bin/setup-ci-environment /builds/gargantext/bin/setup-ci-environment
COPY
./bin/install-cabal2stack /builds/gargantext/bin/install-cabal2stack
...
...
@@ -67,7 +52,6 @@ RUN set -o pipefail && \
echo
`
which nix-env
`
&&
\
.
$HOME
/.bashrc
&&
nix-env
--version
&&
\
cd
/builds/gargantext
&&
nix-shell
--run
"./bin/install-cabal2stack"
#cd /root/devops/coreNLP && nix-shell -p jre --run "./build.sh"
WORKDIR
"/builds/gargantext/"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment