-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c925088
commit 63441d9
Showing
9 changed files
with
56 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
FROM dolfinx/dolfinx:v0.6.0 | ||
|
||
LABEL org.opencontainers.image.source https://github.com/equinor/warmth | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y build-essential --no-install-recommends make \ | ||
ca-certificates \ | ||
git \ | ||
libssl-dev \ | ||
zlib1g-dev \ | ||
libbz2-dev \ | ||
libreadline-dev \ | ||
libsqlite3-dev \ | ||
wget \ | ||
curl \ | ||
llvm \ | ||
libncurses5-dev \ | ||
xz-utils \ | ||
tk-dev \ | ||
libxml2-dev \ | ||
libxmlsec1-dev \ | ||
libffi-dev \ | ||
liblzma-dev | ||
&& apt-get install -y curl | ||
# build-essential --no-install-recommends make \ | ||
# ca-certificates \ | ||
# git \ | ||
# libssl-dev \ | ||
# zlib1g-dev \ | ||
# libbz2-dev \ | ||
# libreadline-dev \ | ||
# libsqlite3-dev \ | ||
# wget \ | ||
# \ | ||
# llvm \ | ||
# libncurses5-dev \ | ||
# xz-utils \ | ||
# tk-dev \ | ||
# libxml2-dev \ | ||
# libxmlsec1-dev \ | ||
# libffi-dev \ | ||
# liblzma-dev | ||
|
||
RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p "" | ||
USER vscode | ||
WORKDIR /home/vscode | ||
ENV HOME=/home/vscode | ||
# RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p "" | ||
# USER vscode | ||
# WORKDIR /home/vscode | ||
# ENV HOME=/home/vscode | ||
ENV PATH="/root/.local/bin:$HOME/.local/bin::$PATH" | ||
RUN curl -sSL https://install.python-poetry.org | python3 - |
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 was deleted.
Oops, something went wrong.
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,32 +1,6 @@ | ||
FROM dolfinx/dolfinx:v0.6.0 | ||
|
||
LABEL org.opencontainers.image.source https://github.com/equinor/warmth | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
WORKDIR /home/warmth | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y build-essential --no-install-recommends make \ | ||
ca-certificates \ | ||
git \ | ||
libssl-dev \ | ||
zlib1g-dev \ | ||
libbz2-dev \ | ||
libreadline-dev \ | ||
libsqlite3-dev \ | ||
wget \ | ||
curl \ | ||
llvm \ | ||
libncurses5-dev \ | ||
xz-utils \ | ||
tk-dev \ | ||
libxml2-dev \ | ||
libxmlsec1-dev \ | ||
libffi-dev \ | ||
liblzma-dev | ||
|
||
RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p "" | ||
USER vscode | ||
WORKDIR /home/vscode | ||
ENV HOME=/home/vscode | ||
ENV PATH="/root/.local/bin:$HOME/.local/bin::$PATH" | ||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
ENTRYPOINT pip install . pytest==7.4.2 pytest-cov==4.1.0 && pytest --cov-report=term-missing --cov=warmth tests | tee pytest-coverage.txt |
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
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