Spaces:
Running
Running
MilesCranmer
commited on
Merge pull request #371 from MilesCranmer/update-docker
Browse files- .github/workflows/CI_docker.yml +2 -4
- Dockerfile +2 -2
.github/workflows/CI_docker.yml
CHANGED
@@ -29,14 +29,12 @@ jobs:
|
|
29 |
shell: bash
|
30 |
strategy:
|
31 |
matrix:
|
32 |
-
julia-version: ['1.8.2']
|
33 |
-
python-version: ['3.10.8']
|
34 |
os: [ubuntu-latest]
|
35 |
arch: ['linux/amd64']
|
36 |
|
37 |
steps:
|
38 |
- uses: actions/checkout@v3
|
39 |
- name: Build docker
|
40 |
-
run: docker build --platform=${{ matrix.arch }} -t pysr
|
41 |
- name: Test docker
|
42 |
-
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'
|
|
|
29 |
shell: bash
|
30 |
strategy:
|
31 |
matrix:
|
|
|
|
|
32 |
os: [ubuntu-latest]
|
33 |
arch: ['linux/amd64']
|
34 |
|
35 |
steps:
|
36 |
- uses: actions/checkout@v3
|
37 |
- name: Build docker
|
38 |
+
run: docker build --platform=${{ matrix.arch }} -t pysr .
|
39 |
- name: Test docker
|
40 |
+
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'
|
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
# This builds a dockerfile containing a working copy of PySR
|
2 |
# with all pre-requisites installed.
|
3 |
|
4 |
-
ARG JLVERSION=1.
|
5 |
-
ARG PYVERSION=3.10.
|
6 |
ARG BASE_IMAGE=bullseye
|
7 |
|
8 |
FROM julia:${JLVERSION}-${BASE_IMAGE} AS jl
|
|
|
1 |
# This builds a dockerfile containing a working copy of PySR
|
2 |
# with all pre-requisites installed.
|
3 |
|
4 |
+
ARG JLVERSION=1.9.1
|
5 |
+
ARG PYVERSION=3.10.11
|
6 |
ARG BASE_IMAGE=bullseye
|
7 |
|
8 |
FROM julia:${JLVERSION}-${BASE_IMAGE} AS jl
|