Created
April 20, 2021 21:16
-
-
Save aforsythe/4edc5e1d7c2cf75c9f6c8d8012b3c61e 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 alpine:3.13.5 | |
MAINTAINER Alex Forsythe | |
# Set Environment Variables | |
ENV LD_LIBRARY_PATH /usr/local/lib | |
ENV CTL_MODULE_PATH /src/aces-dev/transforms/ctl/lib | |
RUN ln -s /lib /lib64 | |
# Install Applications | |
RUN apk update && \ | |
apk add cmake \ | |
make \ | |
gcc \ | |
g++ \ | |
git \ | |
autoconf \ | |
libtool \ | |
pkgconf \ | |
linux-headers && \ | |
rm -rf /var/cache/apk/* | |
# Clone source code repos | |
RUN mkdir src | |
WORKDIR src | |
RUN git clone https://github.com/remia/CTL.git && \ | |
git clone https://github.com/ampas/aces_container.git | |
# Build ACES container | |
WORKDIR /src/aces_container | |
RUN mkdir build | |
WORKDIR /src/aces_container/build | |
RUN cmake .. \ | |
&& make \ | |
&& make install | |
# Build CTL | |
WORKDIR /src/CTL | |
RUN git checkout cmake_refactor_osx_fix | |
RUN mkdir build | |
WORKDIR /src/CTL/build | |
RUN cmake .. \ | |
&& make \ | |
&& make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment