Skip to content

Commit

Permalink
Merge pull request #371 from MilesCranmer/update-docker
Browse files Browse the repository at this point in the history
Update docker defaults: Julia=1.9.1; Python=3.10.11
  • Loading branch information
MilesCranmer authored Jul 8, 2023
2 parents fef0b90 + 744fcfb commit 7232595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/CI_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ jobs:
shell: bash
strategy:
matrix:
julia-version: ['1.8.2']
python-version: ['3.10.8']
os: [ubuntu-latest]
arch: ['linux/amd64']

steps:
- uses: actions/checkout@v3
- name: Build docker
run: docker build --platform=${{ matrix.arch }} -t pysr --build-arg JLVERSION=${{ matrix.julia-version }} --build-arg PYVERSION=${{ matrix.python-version }} .
run: docker build --platform=${{ matrix.arch }} -t pysr .
- name: Test docker
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test cli && python3 -m pysr.test env'
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test cli && python3 -m pysr.test env'
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This builds a dockerfile containing a working copy of PySR
# with all pre-requisites installed.

ARG JLVERSION=1.8.2
ARG PYVERSION=3.10.8
ARG JLVERSION=1.9.1
ARG PYVERSION=3.10.11
ARG BASE_IMAGE=bullseye

FROM julia:${JLVERSION}-${BASE_IMAGE} AS jl
Expand Down

0 comments on commit 7232595

Please sign in to comment.