Skip to content

Commit

Permalink
Upgraded monetdb version to 11.49.1 (#475)
Browse files Browse the repository at this point in the history
* Upgraded monetdb version to 11.49.1

Co-authored-by: kfilippopolitis <[email protected]>
  • Loading branch information
ThanKarab and KFilippopolitis authored Jan 15, 2024
1 parent 0f90d45 commit 53cb54a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion mipdb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ WORKDIR $DATA_PATH
#######################################################
# Installing dependencies
#######################################################
RUN pip install mipdb==2.4.6 # Must be updated together with pyproject.toml
RUN pip install mipdb==2.4.7 # Must be updated together with pyproject.toml
RUN pip install click==8.1.2
RUN pip install pymonetdb==1.6.3 # Must be updated together with pyproject.toml

Expand Down
10 changes: 5 additions & 5 deletions monetdb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ FROM madgik/exareme2_db_base:0.1
#######################################################
# Download monetdb source files
#######################################################
RUN wget --output-document=/home/MonetDB-11.45.13.tar.bz2 --no-check-certificate https://www.monetdb.org/downloads/sources/Sep2022-SP2/MonetDB-11.45.13.tar.bz2
RUN tar -xf /home/MonetDB-11.45.13.tar.bz2 -C /home/
RUN wget --output-document=/home/monetDB.tar.bz2 --no-check-certificate https://www.monetdb.org/downloads/sources/Dec2023/MonetDB-11.49.1.tar.bz2
RUN tar -xf /home/monetDB.tar.bz2 -C /home/

#######################################################
# Install monetdb
#######################################################
RUN pip3 install numpy==1.24.1 # Must be updated together with pyproject.toml
RUN mkdir /home/monetdb-build
WORKDIR /home/monetdb-build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DASSERT=ON -DSTRICT=ON -DCMAKE_INSTALL_PREFIX=/usr/local/bin/monetdb /home/MonetDB-11.45.13
RUN cmake -DCMAKE_BUILD_TYPE=Release -DASSERT=ON -DSTRICT=ON -DCMAKE_INSTALL_PREFIX=/usr/local/bin/monetdb /home/MonetDB-11.49.1
RUN cmake --build .
RUN cmake --build . --target install
ENV PATH="/usr/local/bin/monetdb/bin:$PATH"
Expand All @@ -22,8 +22,8 @@ EXPOSE 50000
#######################################################
# Installation clean up
#######################################################
RUN rm /home/MonetDB-11.45.13.tar.bz2
RUN rm -rf /home/MonetDB-11.45.13/
RUN rm /home/monetDB.tar.bz2
RUN rm -rf /home/MonetDB-11.49.1
RUN rm -rf /home/monetdb-build

#######################################################
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ pytest-subtests = "~0.11"
freezegun = "~1.2"
hypothesis = "~6.81"
pytest-rerunfailures = "~12.0"
mipdb = "2.4.6" # Must be updated together with mipdb Dockerfile

[tool.poetry.group.dev.dependencies]
mipdb = "2.4.7" # Must be updated together with mipdb Dockerfile

[tool.pytest.ini_options]
markers = [
Expand Down

0 comments on commit 53cb54a

Please sign in to comment.