Dockerfile: dos2unix ./docker/*.sh, #15
https://stackoverflow.com/questions/51508150/standard-init-linux-go190-exec-user-process-caused-no-such-file-or-directory
This commit is contained in:
parent
64c9222f56
commit
a1eec65869
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ RUN apt-get update \
|
||||||
curl \
|
curl \
|
||||||
tini \
|
tini \
|
||||||
novnc websockify \
|
novnc websockify \
|
||||||
|
dos2unix \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
|
|
@ -67,6 +68,7 @@ RUN npm install \
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Shell scripts
|
# Shell scripts
|
||||||
|
RUN dos2unix ./docker/*.sh
|
||||||
RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \
|
RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \
|
||||||
&& chmod +x /usr/local/bin/entrypoint \
|
&& chmod +x /usr/local/bin/entrypoint \
|
||||||
&& mv ./docker/vnc-start.sh /usr/local/bin/vnc-start \
|
&& mv ./docker/vnc-start.sh /usr/local/bin/vnc-start \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue