Closed laiqinghua closed 2 years ago
error message:
[root@VM-0-18-centos docker-remote-desktop]# docker build -t desktop:v1 . Sending build context to Docker daemon 3.268MB Step 1/13 : ARG TAG=latest Step 2/13 : FROM ubuntu:$TAG as builder ---> d2e4e1f51132 Step 3/13 : RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list && apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends build-essential dpkg-dev git libpulse-dev pulseaudio && apt-get build-dep -y pulseaudio && apt-get source pulseaudio && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 60286c02d699 Step 4/13 : RUN cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure ---> Running in 9138f19009c5 /bin/sh: 1: cd: can't cd to /pulseaudio-15.99.1 The command '/bin/sh -c cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure' returned a non-zero code: 2
========================= docker file is new Dockerfile:
RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list \ && apt-get update \ && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \ build-essential \ dpkg-dev \ git \ libpulse-dev \ pulseaudio \ && apt-get build-dep -y pulseaudio \ && apt-get source pulseaudio \ && rm -rf /var/lib/apt/lists/*
RUN cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') \ && ./configure
thanks your project ,it's greate!
error message:
[root@VM-0-18-centos docker-remote-desktop]# docker build -t desktop:v1 . Sending build context to Docker daemon 3.268MB Step 1/13 : ARG TAG=latest Step 2/13 : FROM ubuntu:$TAG as builder ---> d2e4e1f51132 Step 3/13 : RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list && apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends build-essential dpkg-dev git libpulse-dev pulseaudio && apt-get build-dep -y pulseaudio && apt-get source pulseaudio && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 60286c02d699 Step 4/13 : RUN cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure ---> Running in 9138f19009c5 /bin/sh: 1: cd: can't cd to /pulseaudio-15.99.1 The command '/bin/sh -c cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure' returned a non-zero code: 2
========================= docker file is new Dockerfile:
RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list \ && apt-get update \ && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \ build-essential \ dpkg-dev \ git \ libpulse-dev \ pulseaudio \ && apt-get build-dep -y pulseaudio \ && apt-get source pulseaudio \ && rm -rf /var/lib/apt/lists/*
RUN cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') \ && ./configure
thanks your project ,it's greate!