Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 7e2659a

Browse files
authored
Merge pull request #21 from open-AIMS/update-dockerfile
update Dockerfile, Julia 1.10.5, fix --threads auto,1
2 parents feffda3 + 180af5e commit 7e2659a

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/PublishDockerImage.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ name: Build and Publish ReefGuideAPI.jl Docker Image
1111

1212
on:
1313
workflow_dispatch:
14-
# push:
15-
# branches:
16-
# - main
17-
# - jwt-auth
14+
push:
15+
branches:
16+
- update-dockerfile
1817
release:
1918
types: [published]
2019

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See https://hub.docker.com/_/julia for valid versions.
2-
ARG JULIA_VERSION="1.10.4"
2+
ARG JULIA_VERSION="1.10.5"
33

44
#------------------------------------------------------------------------------
55
# internal-base build target: julia with OS updates and an empty @reefguide
@@ -54,17 +54,17 @@ ENTRYPOINT ["julia", "--project=@reefguide"]
5454

5555
# TODO enable and update this once the package is available from registry
5656
# FROM internal-base AS reefguide-base
57-
#
57+
#
5858
# # What version of ReefGuideAPI.jl from package registry to install in reefguide-base
5959
# # TODO this doesn't make sense yet
6060
# ARG REEFGUIDE_VERSION="0.1.0"
61-
#
61+
#
6262
# # Which julia package registry version to install
6363
# ENV REEFGUIDE_VERSION=$REEFGUIDE_VERSION
64-
#
64+
#
6565
# # Try to coerce Julia to build across multiple targets
6666
# ENV JULIA_CPU_TARGET=x86_64;haswell;skylake;skylake-avx512;tigerlake
67-
#
67+
#
6868
# # Install ReefGuideAPI.jl into the @reefguide shared environment as an unregistered package.
6969
# # - Allow the package source and version to be overridden at build-time.
7070
# # - Include citation information for ReefGuideAPI.jl in the image labels.
@@ -75,13 +75,13 @@ ENTRYPOINT ["julia", "--project=@reefguide"]
7575
# au.gov.aims.reefguideapi.version="${REEFGUIDE_VERSION}" \
7676
# au.gov.aims.reefguideapi.vendor="Australian Institute of Marine Science" \
7777
# au.gov.aims.reefguideapi.licenses=MIT
78-
#
78+
#
7979
# # Expect to include the prepped data at /data/reefguide and the config at
8080
# # /data/.config.toml
8181
# VOLUME ["/data/reefguide"]
82-
#
82+
#
8383
# EXPOSE 8000
84-
#
84+
#
8585
# # Run Julia commands by default as the container launches.
8686
# # Derived applications should override the command.
8787
# ENTRYPOINT ["julia", "--project=@reefguide", "-t", "1,auto", "-e", "using ReefGuideAPI; ReefGuideAPI.start_server(\"/data/reefguide/config.toml\")"]
@@ -121,4 +121,4 @@ EXPOSE 8000
121121

122122
# Run Julia commands by default as the container launches.
123123
# Derived applications should override the command.
124-
ENTRYPOINT ["julia", "--project=@reefguide", "-t", "1,auto", "-e", "using ReefGuideAPI; ReefGuideAPI.start_server(\"/data/reefguide/config.toml\")"]
124+
ENTRYPOINT ["julia", "--project=@reefguide", "-t", "auto,1", "-e", "using ReefGuideAPI; ReefGuideAPI.start_server(\"/data/reefguide/config.toml\")"]

0 commit comments

Comments
 (0)