Skip to content

Commit

Permalink
add missing library needed by mamba, reenable docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
daico007 committed Oct 5, 2023
1 parent 9d7367f commit 19b77f2
Show file tree
Hide file tree
Showing 2 changed files with 5 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

0 comments on commit 19b77f2

Please sign in to comment.