-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
23 lines (18 loc) · 943 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Wanted to do the alpine version but that tag does not support arm64 (Mac M1) architecture
FROM julia:1.7
LABEL maintainer="Shaun Adkins ([email protected])"
RUN mkdir -p /opt/FADU
WORKDIR /opt/FADU
COPY ./alignment_overlaps.jl /opt/FADU
COPY ./bam_record.jl /opt/FADU/
COPY ./fadu.jl /opt/FADU/
COPY ./feature_counts.jl /opt/FADU/
COPY ./gff_feature.jl /opt/FADU/
# force compilation of external, shared packages copied in from Manifest.toml and Project.toml
# For some reason these would not copy to the "root" home directory
RUN mkdir -p /tmp/.julia/environments/v1.7
COPY ./fadu_pkgs/Manifest.toml /tmp/.julia/environments/v1.7/Manifest.toml
COPY ./fadu_pkgs/Project.toml /tmp/.julia/environments/v1.7/Project.toml
ENV JULIA_DEPOT_PATH=/tmp/.julia
RUN julia -e 'using Pkg; Pkg.precompile(); Pkg.instantiate()' && julia -e 'using BGZFStreams, GenomicFeatures, GFF3, Indexes, XAM, BED'
ENTRYPOINT ["julia", "/opt/FADU/fadu.jl"]