Skip to content

Commit

Permalink
Merge branch 'fix-metis-cpm' into 'master'
Browse files Browse the repository at this point in the history
[cmake] Try to apply git patch for metis only once.

See merge request ogs/ogs!4790
  • Loading branch information
endJunction committed Nov 8, 2023
2 parents c2c416e + 418d585 commit 97c2f74
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions scripts/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ if(OGS_BUILD_UTILS)
GIT_REPOSITORY https://github.com/KarypisLab/METIS
VERSION 5.2.1
EXCLUDE_FROM_ALL YES
UPDATE_DISCONNECTED ON
PATCH_COMMAND git apply
${PROJECT_SOURCE_DIR}/scripts/cmake/metis.patch
OPTIONS ${_metis_options}
Expand Down
12 changes: 7 additions & 5 deletions scripts/docker/Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ CMD [ "/bin/bash" ]
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
--no-install-recommends curl git gnupg2 && \
rm -rf /var/lib/apt/lists/*
RUN apt -y install curl dirmngr apt-transport-https ca-certificates \
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get -y install nodejs npm \
RUN apt -y install curl dirmngr apt-transport-https ca-certificates gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get -y install nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y yarn \
&& rm -rf /var/lib/apt/lists/*
RUN yarn global add node-gyp
RUN yarn global add netlify-cli
RUN npm install netlify-cli -g
ENV HUGO_VERSION=0.117.0
RUN curl -fSL -O "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y /hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
Expand Down
4 changes: 2 additions & 2 deletions web/data/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
}
},
"cpm": {
"package_file_id": 1029,
"package_file_sha256": "baca0a575a0c7053e4c7a5bffb32bb30d8dce0ae97308858b3bf8a690063b303"
"package_file_id": 1048,
"package_file_sha256": "fe5b6489d66351dfac09622ac53d3fd987b2b7d81df01038ad0c2e316d6a3ebd"
},
"ext": {
"cache_hash": "4ebd62e0ce484732dbf3cd9932f60b67762e156b"
Expand Down

0 comments on commit 97c2f74

Please sign in to comment.