Fix OTP_VERSION file in docker
authorkPherox <admin@mail.kr-kp.com>
Thu, 9 Apr 2020 12:16:29 +0000 (21:16 +0900)
committerGitHub <noreply@github.com>
Thu, 9 Apr 2020 12:16:29 +0000 (21:16 +0900)
Dockerfile

index 29931a5e3a398cd2fef9cb0e244da7db5725ce1f..c2f3ad98c9a3478a360ff836c2ab219ab4eadc73 100644 (file)
@@ -12,6 +12,8 @@ RUN apk add git gcc g++ musl-dev make &&\
        mkdir release &&\
        mix release --path release
 
+RUN echo "${OTP_VERSION}" > release/OTP_VERSION
+
 FROM alpine:3.11
 
 ARG BUILD_DATE