Skip to content

Commit 0e70047

Browse files
committed
fix: novnc language (fcwu#174)
1 parent 2bd60c0 commit 0e70047

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Dockerfile.amd64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ COPY web /src/web
9999
RUN cd /src/web \
100100
&& yarn \
101101
&& yarn build
102+
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
102103

103104

104105

Dockerfile.arm64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ COPY web /src/web
9999
RUN cd /src/web \
100100
&& yarn \
101101
&& npm run build
102+
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
102103

103104

104105
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch

Dockerfile.armhf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9898
COPY web /src/web
9999
RUN cd /src/web \
100100
&& yarn \
101-
&& npm run build
102-
101+
&& yarn run build
102+
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
103103

104104
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
105105

Dockerfile.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ COPY web /src/web
126126
RUN cd /src/web \
127127
&& yarn \
128128
&& yarn build
129+
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
129130

130131
{%if arch == "armhf"%}
131132
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch

0 commit comments

Comments
 (0)