mirror of
https://github.com/NationalSecurityAgency/TraceAnalysis.git
synced 2026-11-10 17:33:47 -10:00
23 lines
452 B
Docker
23 lines
452 B
Docker
FROM traceanalysis/dist
|
|
VOLUME /app/out
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update -yq && \
|
|
apt-get install -y build-essential gcc gcc-multilib
|
|
|
|
# Build the target
|
|
COPY ./test-program /app/target
|
|
WORKDIR /app/target
|
|
RUN make
|
|
|
|
# Add Scripts
|
|
COPY make_sysroot.sh /app/scripts/make_sysroot.sh
|
|
|
|
# Set starting directory
|
|
WORKDIR /app/out
|
|
|
|
# Run example when container starts up
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|