Skip to content

Instantly share code, notes, and snippets.

@junaruga
Created September 5, 2022 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junaruga/dd71378add9fb8e840dad65bb050bf0d to your computer and use it in GitHub Desktop.
Save junaruga/dd71378add9fb8e840dad65bb050bf0d to your computer and use it in GitHub Desktop.
FROM docker.io/ubuntu:20.04
ENV FASTK_COMMIT=f18a4e6d2207539f7b84461daebc54530a9559b0
ENV FASTK_DEST_DIR=/usr/local/bin/
# Install dependencies.
RUN apt update
RUN apt install -y \
gcc \
git \
libbz2-dev \
libcurl4-gnutls-dev \
liblzma-dev \
make \
zlib1g-dev
# Build and install FASTK.
WORKDIR /build/
RUN git clone https://github.com/thegenemyers/FASTK.git
WORKDIR /build/FASTK/
RUN git checkout "${FASTK_COMMIT}"
RUN make
RUN make install DEST_DIR="${FASTK_DEST_DIR}"
WORKDIR /data/
CMD ["FastK"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment