13 lines
296 B
Docker
13 lines
296 B
Docker
FROM rust:alpine as builder
|
|
|
|
|
|
|
|
FROM alpine
|
|
|
|
COPY --from=builder target/debug/init /usr/local/bin/init
|
|
ADD docker/etc/ /etc/
|
|
|
|
RUN chmod ugo+x /etc/wingmate/services/one && chmod ugo+x /etc/wingmate/services/two.sh && \
|
|
chmod ugo-x /etc/wingmate/services/three.sh
|
|
|
|
CMD [ "/usr/local/bin/init" ] |