wip: using different versions of rust images
This commit is contained in:
13
docker/alpine/Dockerfile
Normal file
13
docker/alpine/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
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" ]
|
||||
Reference in New Issue
Block a user