Created
September 5, 2022 21:50
-
-
Save junaruga/dd71378add9fb8e840dad65bb050bf0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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