mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
fix: novnc language (#174)
This commit is contained in:
parent
2bd60c0f88
commit
0e70047bdc
4 changed files with 5 additions and 2 deletions
|
|
@ -99,6 +99,7 @@ COPY web /src/web
|
||||||
RUN cd /src/web \
|
RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& yarn build
|
&& yarn build
|
||||||
|
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@ COPY web /src/web
|
||||||
RUN cd /src/web \
|
RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||||
|
|
||||||
|
|
||||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||||
|
|
|
||||||
|
|
@ -98,8 +98,8 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||||
COPY web /src/web
|
COPY web /src/web
|
||||||
RUN cd /src/web \
|
RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& npm run build
|
&& yarn run build
|
||||||
|
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||||
|
|
||||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,7 @@ COPY web /src/web
|
||||||
RUN cd /src/web \
|
RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& yarn build
|
&& yarn build
|
||||||
|
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||||
|
|
||||||
{%if arch == "armhf"%}
|
{%if arch == "armhf"%}
|
||||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue