Fix novnc build
Plus bump the version to the recent one. Plus reduce number of steps for building. Change-Id: I7652870f03c7b106a522a902d00bc2a3eb900a15
This commit is contained in:
parent
261d28a1e5
commit
e9d1b9c88d
|
@ -1,11 +1,10 @@
|
|||
FROM {{ image_spec("nova-base") }}
|
||||
MAINTAINER {{ maintainer }}
|
||||
|
||||
RUN curl -o nova-novncproxy.tar.gz https://codeload.github.com/kanaka/noVNC/legacy.tar.gz/v0.5.1 && \
|
||||
RUN curl -L -o nova-novncproxy.tar.gz https://github.com/novnc/noVNC/archive/v{{ novnc_version }}.tar.gz && \
|
||||
tar -zxvf nova-novncproxy.tar.gz && \
|
||||
mkdir -p /usr/share/novnc && \
|
||||
cp -rp kanaka*/* /usr/share/novnc/ && \
|
||||
mv noVNC-{{ novnc_version }} /usr/share/novnc && \
|
||||
chown -R nova: /usr/share/novnc && \
|
||||
rm -rf nova-novncproxy.tar.gz kanaka*
|
||||
rm -f nova-novncproxy.tar.gz
|
||||
|
||||
USER nova
|
||||
|
|
|
@ -28,6 +28,9 @@ configs:
|
|||
enable: false
|
||||
pool_name: "vms"
|
||||
|
||||
versions:
|
||||
novnc_version: "0.6.1"
|
||||
|
||||
sources:
|
||||
openstack/nova:
|
||||
git_url: https://github.com/openstack/nova.git
|
||||
|
|
Loading…
Reference in New Issue