Skip to content

Commit

Permalink
Fix Docker build (#1147)
Browse files Browse the repository at this point in the history
* add missing library needed by mamba, reenable docker build

* add mock to docs-env
  • Loading branch information
daico007 authored Oct 5, 2023
1 parent 9d7367f commit 6bd5b8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
runs-on: ubuntu-latest
needs: test
name: Build Docker Image
if: ${{ false }}
if: github.event_name != 'pull_request'

steps:
- name: Set up Docker Buildx
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PY_VERSION=3.8
ARG PY_VERSION=3.10
FROM continuumio/miniconda3:4.10.3-alpine AS builder

EXPOSE 8888
Expand All @@ -17,6 +17,9 @@ WORKDIR /mbuild
# Create a group and user
RUN addgroup -S anaconda && adduser -S anaconda -G anaconda

# install the libarchive package needed by mamba
RUN apk update && apk add libarchive

RUN conda update conda -yq && \
conda config --set always_yes yes --set changeps1 no && \
. /opt/conda/etc/profile.d/conda.sh && \
Expand Down
1 change: 1 addition & 0 deletions docs/docs-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ dependencies:
- lxml
- numpydoc
- widgetsnbextension
- mock

0 comments on commit 6bd5b8a

Please sign in to comment.