Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ RUN curl -L https://github.com/shenwei356/seqkit/releases/download/v2.10.1/seqki
# devel/validate-platforms.
ARG CACHE_DATE

# Install our own CLI so builds can do things like `nextstrain deploy`
RUN mkdir -p /nextstrain/cli \
&& curl -fsSL --proto '=https' https://nextstrain.org/cli/download/latest/standalone-"$(/builder-scripts/target-triple)".tar.gz \
| tar xzvf - --no-same-owner --no-same-permissions -C /nextstrain/cli \
&& chmod -R a+rX /nextstrain/cli

# Download Nextclade v3
# Set default Nextclade version to 3
RUN curl -fsSL https://github.com/nextstrain/nextclade/releases/latest/download/nextclade-$(/builder-scripts/target-triple) \
Expand Down Expand Up @@ -280,9 +286,6 @@ ARG CACHE_DATE
# Add helper scripts
COPY builder-scripts/ /builder-scripts/

# Install our own CLI so builds can do things like `nextstrain deploy`
RUN pip3 install nextstrain-cli

# Fauna
WORKDIR /nextstrain/fauna
RUN /builder-scripts/download-repo https://github.com/nextstrain/fauna master . \
Expand Down Expand Up @@ -397,7 +400,6 @@ COPY --from=builder-target-platform \
/usr/local/bin/bio \
/usr/local/bin/envdir \
/usr/local/bin/evofr \
/usr/local/bin/nextstrain \
/usr/local/bin/pathogen-distance \
/usr/local/bin/pathogen-embed \
/usr/local/bin/pathogen-cluster \
Expand All @@ -408,6 +410,9 @@ COPY --from=builder-target-platform \
# Add installed Node libs
COPY --from=builder-build-platform /usr/lib/node_modules/ /usr/lib/node_modules/

# Add globally linked Nextstrain CLI executable.
RUN ln -sv /nextstrain/cli/nextstrain /usr/local/bin/nextstrain

# Add globally linked Auspice script.
#
# This symlink is present in the "builder" image, but using COPY results in the
Expand Down
Loading