-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
58 lines (49 loc) · 1.42 KB
/
Dockerfile
File metadata and controls
58 lines (49 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM node:22-bookworm
LABEL org.opencontainers.image.source="https://github.com/pixlcore/xyops-shell-image"
LABEL org.opencontainers.image.description="Base image for the xyOps Docker Event Plugin."
LABEL org.opencontainers.image.licenses="MIT"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
zip unzip xz-utils bzip2 procps lsof rsync \
iputils-ping \
dnsutils \
openssh-client \
net-tools \
curl \
wget \
vim \
less \
sudo \
iproute2 \
tzdata \
python3 \
golang \
git \
ca-certificates \
gnupg \
ffmpeg \
imagemagick \
ghostscript \
libwebp-dev \
libheif1 \
libjxl-tools \
moreutils \
jq
# install docker cli
RUN . /etc/os-release; \
install -m 0755 -d /etc/apt/keyrings; \
curl -fsSL "https://download.docker.com/linux/$ID/gpg" -o /etc/apt/keyrings/docker.asc; \
chmod a+r /etc/apt/keyrings/docker.asc; \
ARCH=$(dpkg --print-architecture); \
echo "deb [arch=$ARCH signed-by=/etc/apt/keyrings/docker.asc] \
https://download.docker.com/linux/$ID ${UBUNTU_CODENAME:-$VERSION_CODENAME} stable" \
> /etc/apt/sources.list.d/docker.list; \
apt-get update && apt-get install -y --no-install-recommends docker-ce-cli;
# cleanup apt
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# install uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# install xyrun
RUN npm install -g @pixlcore/xyrun
WORKDIR /opt/xyops
CMD ["xyrun"]