-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker build fails #278
Comments
Copy the frontend file of the official docker image to the dist of the web directory, modify the docker, shield the compiled dist part and establish soft links. ` Built with arch: amd64 flavor: lxde image: ubuntu:20.04################################################################################ base system################################################################################ FROM ubuntu:20.04 as system RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list; built-in packagesENV DEBIAN_FRONTEND noninteractive install debs error if combine togetherRUN apt update RUN apt update RUN apt update Additional packages require ~600MBlibreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-twtini to fix subreapARG TINI_VERSION=v0.19.0 ffmpegRUN apt update python libraryCOPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/ ################################################################################ builder################################################################################ RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list; RUN apt-get update nodejsRUN curl -sL https://deb.nodesource.com/setup_12.x | bash - yarnRUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - build frontendCOPY web /src/web ################################################################################ merge################################################################################ COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/ EXPOSE 80 |
@gauravmeena83 https://github.com/fcwu/docker-ubuntu-vnc-desktop/blob/develop/DEVELOPMENT.md
|
make build
Step 21/42 : RUN sed -i 's#app/locale/#novnc/app/locale/#g' /src/web/dist/static/novnc/app/ui.js
---> Running in e5be1f645f2c
sed: can't read /src/web/dist/static/novnc/app/ui.js: No such file or directory
The command '/bin/sh -c sed -i 's#app/locale/#novnc/app/locale/#g' /src/web/dist/static/novnc/app/ui.js' returned a non-zero code: 2
make: *** [Makefile:19: build] Error 2
The text was updated successfully, but these errors were encountered: