Skip to content

Commit 00f9a95

Browse files
authored
Merge pull request #47 from stavros-k/v6-variant
Include v6 webui
2 parents c875baf + e15c9ed commit 00f9a95

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ RUN git clone -b master https://github.com/vatesfr/xen-orchestra /etc/xen-orches
1010

1111
# Run build tasks against sources
1212
# Docker buildx QEMU arm64 emulation is slow, so we set timeout for yarn
13-
RUN cd /etc/xen-orchestra && \
14-
yarn config set network-timeout 200000 && \
15-
yarn && \
16-
yarn build
13+
WORKDIR /etc/xen-orchestra
14+
RUN yarn config set network-timeout 200000 && yarn && yarn build
15+
16+
# Builds the v6 webui
17+
RUN yarn run turbo run build --filter @xen-orchestra/web
1718

1819
# Install plugins
1920
RUN find /etc/xen-orchestra/packages/ -maxdepth 1 -mindepth 1 -not -name "xo-server" -not -name "xo-web" -not -name "xo-server-cloud" -not -name "xo-server-test" -not -name "xo-server-test-plugin" -exec ln -s {} /etc/xen-orchestra/packages/xo-server/node_modules \;
2021

2122
# Runner container
2223
FROM node:20-bullseye-slim
2324

24-
MAINTAINER Roni Väyrynen <[email protected]>
25+
LABEL org.opencontainers.image.authors="Roni Väyrynen <[email protected]>"
2526

2627
# Install set of dependencies for running Xen Orchestra
2728
RUN apt update && \

0 commit comments

Comments
 (0)