cloud-sat/docker/leader.dockerfile

17 lines
409 B
Plaintext
Raw Normal View History

2023-03-29 07:12:33 +00:00
FROM light:common AS builder
USER root
FROM satcomp-infrastructure:leader AS mallob_liaison
WORKDIR /
2023-03-30 10:50:38 +00:00
COPY ./files /competition/files
2023-03-29 07:12:33 +00:00
COPY --from=builder /cloud-sat/light light
COPY --chown=ecs-user ./init_leader.sh /competition/init_solver.sh
COPY --chown=ecs-user ./run_solver.sh /competition/run_solver.sh
2023-03-29 07:12:33 +00:00
USER ecs-user
RUN chmod +x /competition/init_solver.sh
RUN chmod +x /competition/run_solver.sh