Skip to content

Commit

Permalink
Merge pull request #10 from equinor/subsheat3D/test_from_grids
Browse files Browse the repository at this point in the history
TST: docker CI
  • Loading branch information
adamchengtkc authored Nov 20, 2023
2 parents 8976202 + 33dd37e commit ad8e8c5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
name: Build
uses: docker/build-push-action@v2
with:
file: Dockerfile
context: .devcontainer
push: true
platforms: linux/amd64
tags: ghcr.io/equinor/warmth:latest
32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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

RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p ""
USER 1000
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 -

0 comments on commit ad8e8c5

Please sign in to comment.