Skip to content

Commit

Permalink
Merge branch 'trs/use-ambient-runtime-inside'
Browse files Browse the repository at this point in the history
  • Loading branch information
tsibley committed Sep 15, 2023
2 parents a6b0577 + 6f91521 commit b70d048
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,13 @@ RUN useradd nextstrain \
--home-dir /nextstrain \
--no-log-init

# No nesting of runtimes, please. Use the ambient runtime inside this runtime.
ENV NEXTSTRAIN_HOME=/nextstrain
RUN nextstrain check-setup --set-default ambient \
&& chown nextstrain:nextstrain /nextstrain/config \
&& chmod a+rw /nextstrain/config \
&& rm -f /nextstrain/lock

# The host should bind mount the pathogen build dir into /nextstrain/build.
WORKDIR /nextstrain/build
RUN chown nextstrain:nextstrain /nextstrain/build
Expand Down

0 comments on commit b70d048

Please sign in to comment.