-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (14 loc) · 774 Bytes
/
Dockerfile
File metadata and controls
20 lines (14 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM weizhouapache/docker-systemd:latest-ubuntu24
MAINTAINER Wei Zhou <ustcweizhou@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
RUN apt update -qq && \
apt upgrade -y && \
apt install -y curl iproute2 net-tools iputils-ping apt-transport-https openssh-server
RUN echo "deb http://download.cloudstack.org/ubuntu noble 4.22" > /etc/apt/sources.list.d/cloudstack.list && \
curl -L http://download.cloudstack.org/release.asc -o /etc/apt/trusted.gpg.d/cloudstack.asc && \
apt update -qq && \
apt install -y cloudstack-management && \
apt install -y cloudstack-usage
COPY entrypoint.sh /entrypoint.sh
EXPOSE 8080 8250 8096 22
ENTRYPOINT ["/entrypoint.sh"]