-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updates python to version 3.9. * Updates Elastic Search to version 7.10.2. * Updates package dependencies. * Corrects safety rules. Co-Authored-by: Peter Weber <[email protected]>
- Loading branch information
Showing
11 changed files
with
691 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,17 +22,16 @@ | |
# and includes Pip, Pipenv, Node.js, NPM and some few standard libraries | ||
# Invenio usually needs. | ||
|
||
FROM python:3.6-slim-stretch | ||
FROM python:3.9-slim-buster | ||
|
||
# require debian packages | ||
RUN apt-get upgrade -y && apt-get update -y | ||
RUN apt-get install --no-install-recommends -y git vim-tiny curl gcc gnupg libc6-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl xpdf xpdf-utils ghostscript imagemagick && rm -rf /var/lib/apt/lists/* | ||
RUN pip install --upgrade setuptools wheel pip "poetry<1.1.0" | ||
RUN apt-get install --no-install-recommends -y git vim-tiny curl gcc g++ pkg-config gnupg libc6-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl xpdf xpdf-utils ghostscript imagemagick && rm -rf /var/lib/apt/lists/* | ||
RUN pip install --upgrade wheel pip "poetry<1.1.0" | ||
|
||
# # Install Node | ||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - | ||
RUN apt-get install --no-install-recommends -y nodejs && rm -rf /var/lib/apt/lists/* | ||
RUN npm install --silent [email protected] [email protected] [email protected] [email protected] | ||
|
||
# Env variables | ||
ENV WORKING_DIR=/invenio | ||
|
@@ -57,5 +56,7 @@ RUN useradd invenio --uid ${INVENIO_USER_ID} --home ${WORKING_DIR} && \ | |
chmod -R go+w ${WORKING_DIR} | ||
|
||
# Install dependencies | ||
RUN poetry run pip install --upgrade pip | ||
RUN poetry run pip install --upgrade pip "setuptools<58" | ||
RUN poetry install --no-dev | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.1 | ||
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 | ||
RUN bin/elasticsearch-plugin install analysis-icu |
Oops, something went wrong.