diff --git a/docker/sawfish/Dockerfile b/docker/sawfish/Dockerfile new file mode 100644 index 0000000..7a1edc6 --- /dev/null +++ b/docker/sawfish/Dockerfile @@ -0,0 +1,15 @@ +FROM quay.io/pacbio/pb_wdl_base@sha256:4b889a1f21a6a7fecf18820613cf610103966a93218de772caba126ab70a8e87 + +LABEL maintainer="Billy Rowell " + +ARG IMAGE_NAME +ENV IMAGE_NAME "${IMAGE_NAME}" +ARG IMAGE_TAG +ENV IMAGE_TAG "${IMAGE_TAG}" + +ARG SAWFISH_VERSION +RUN wget https://github.com/PacificBiosciences/sawfish/releases/download/v${SAWFISH_VERSION}/sawfish-v${SAWFISH_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \ + tar --no-same-owner -zxvf sawfish-v${SAWFISH_VERSION}-x86_64-unknown-linux-gnu.tar.gz --directory /opt && \ + rm sawfish-v${SAWFISH_VERSION}-x86_64-unknown-linux-gnu.tar.gz +RUN ln -s /opt/sawfish-v${SAWFISH_VERSION}-x86_64-unknown-linux-gnu/bin/sawfish /usr/local/bin/ && \ + chmod +x /usr/local/bin/sawfish diff --git a/docker/sawfish/build.env b/docker/sawfish/build.env new file mode 100644 index 0000000..1f70341 --- /dev/null +++ b/docker/sawfish/build.env @@ -0,0 +1,9 @@ +# Image revision +IMAGE_BUILD=1 + +# Tool versions +SAWFISH_VERSION=0.12.7 + +# Image info +IMAGE_NAME=sawfish +IMAGE_TAG=${SAWFISH_VERSION}_build${IMAGE_BUILD}