Files
2025-02-21 20:27:02 +00:00

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"]