Fix: line break
This commit is contained in:
+2
-3
@@ -20,9 +20,8 @@ COPY ./entrypoint.sh /entrypoint.sh
|
|||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
# Change line break
|
# Change line break
|
||||||
RUN apk add --no-cache dos2unix
|
RUN sed -i 's/\r$//' /entrypoint.sh \
|
||||||
RUN dos2unix /entrypoint.sh
|
&& find /app -type f -exec sed -i 's/\r$//' {} \;
|
||||||
RUN find /app -type f -exec dos2unix {} \;
|
|
||||||
|
|
||||||
# Run entrypoint
|
# Run entrypoint
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user