Skip to content
Merged
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
23 changes: 20 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ FROM python:3.7-slim-buster AS builder
SHELL ["/bin/bash", "-c"]

# Add system deps for building
# autoconf, automake: for building VCFtools; may be used by package managers to build from source
# build-essential: contains gcc, g++, make, etc. for building various tools; may be used by package managers to build from source
# ca-certificates: for secure HTTPS connections
# curl: for downloading source files
# git: for git pip installs
# jq: used in builder-scripts/latest-augur-release-tag
# pkg-config: for building VCFtools; may be used by package managers to build from source
# zlib1g-dev: for building VCFtools; may be used by package managers to build from source
# nodejs: for installing Auspice
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
Expand All @@ -19,9 +28,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
jq \
libgmp-dev \
libpng-dev \
pkg-config
pkg-config \
zlib1g-dev

# Install a specific Node.js version
# https://github.com/nodesource/distributions/blob/0d81da75/README.md#installation-instructions
Expand Down Expand Up @@ -192,6 +200,15 @@ RUN cd /nextstrain/auspice && npm update && npm install && npm run build && npm
FROM python:3.7-slim-buster AS final

# Add system runtime deps
# bzip2, gzip, xz-utils, zip, unzip, zstd: install compression tools
# ca-certificates: [Dockerfile] for secure HTTPS connections; may be used by workflows
# curl: [Dockerfile] for downloading binaries directly; may be used by workflows
# jq: may be used by workflows
# less: for usability in an interactive prompt
# perl: for running VCFtools
# ruby: may be used by workflows
# wget: may be used by workflows
# nodejs: for running Auspice
RUN apt-get update && apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
Expand Down