java-tutorials/docker-modules/docker-environment-variables/Dockerfile

10 lines
119 B
Docker
Raw Normal View History

FROM alpine:latest
ARG name
ENV env_name $name
COPY greetings.sh .
RUN chmod +x /greetings.sh
CMD ["/greetings.sh"]