镜像构建历史
# 2025-04-01 16:32:34 0.00B 指定运行容器时使用的用户
USER 1000
# 2025-04-01 16:32:34 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p $HOME && chown -R 1000:0 $HOME # buildkit
# 2025-04-01 16:32:34 0.00B 设置工作目录为/home/kasm-user
WORKDIR /home/kasm-user
# 2025-04-01 16:32:34 0.00B 设置环境变量 HOME
ENV HOME=/home/kasm-user
# 2025-04-01 16:32:34 104.78KB 执行命令并创建新的镜像层
RUN /bin/sh -c $STARTUPDIR/set_user_permission.sh $HOME # buildkit
# 2025-04-01 16:32:34 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chown 1000:0 $HOME # buildkit
# 2025-04-01 16:32:34 16.42MB 执行命令并创建新的镜像层
RUN /bin/sh -c bash $INST_SCRIPTS/gtk/install_restricted_file_chooser.sh # buildkit
# 2025-04-01 16:32:32 510.00B 复制新文件或目录到容器中
COPY ./src/ubuntu/install/gtk/ /dockerstartup/install/gtk/ # buildkit
# 2025-04-01 16:32:32 0.00B 设置环境变量 KASM_RESTRICTED_FILE_CHOOSER
ENV KASM_RESTRICTED_FILE_CHOOSER=1
# 2025-04-01 16:32:32 1.84KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x $STARTUPDIR/custom_startup.sh # buildkit
# 2025-04-01 16:32:32 1.84KB 复制新文件或目录到容器中
COPY ./src/ubuntu/install/chromium/custom_startup.sh /dockerstartup/custom_startup.sh # buildkit
# 2025-04-01 16:32:32 36.00B 复制新文件或目录到容器中
COPY ./src/common/chrome-managed-policies/urlblocklist.json /etc/chromium/policies/managed/urlblocklist.json # buildkit
# 2025-04-01 16:32:32 6.34MB 执行命令并创建新的镜像层
RUN /bin/sh -c bash $INST_SCRIPTS/misc/single_app_security.sh -t && rm -rf $INST_SCRIPTS/misc/ # buildkit
# 2025-04-01 16:32:29 775.00B 复制新文件或目录到容器中
COPY ./src/ubuntu/install/misc/single_app_security.sh /dockerstartup/install/misc/ # buildkit
# 2025-04-01 16:32:29 6.41MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get remove -y xfce4-panel # buildkit
# 2025-04-01 16:32:28 1.57MB 执行命令并创建新的镜像层
RUN /bin/sh -c cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png # buildkit
# 2025-04-01 16:32:28 13.61KB 执行命令并创建新的镜像层
RUN /bin/sh -c cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/ # buildkit
# 2025-04-01 16:32:28 412.73MB 执行命令并创建新的镜像层
RUN /bin/sh -c bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/ # buildkit
# 2025-04-01 16:30:47 6.74KB 复制新文件或目录到容器中
COPY ./src/ubuntu/install/chromium /dockerstartup/install/chromium/ # buildkit
# 2025-04-01 16:30:47 0.00B 设置工作目录为/home/kasm-default-profile
WORKDIR /home/kasm-default-profile
# 2025-04-01 16:30:47 0.00B 设置环境变量 INST_SCRIPTS
ENV INST_SCRIPTS=/dockerstartup/install
# 2025-04-01 16:30:47 0.00B 设置环境变量 STARTUPDIR
ENV STARTUPDIR=/dockerstartup
# 2025-04-01 16:30:47 0.00B 设置环境变量 HOME
ENV HOME=/home/kasm-default-profile
# 2025-04-01 16:30:47 0.00B 指定运行容器时使用的用户
USER root
# 2025-04-01 13:20:56 0.00B 设置默认要执行的命令
CMD ["--wait"]
# 2025-04-01 13:20:56 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/dockerstartup/kasm_default_profile.sh" "/dockerstartup/vnc_startup.sh" "/dockerstartup/kasm_startup.sh"]
# 2025-04-01 13:20:56 0.00B 指定运行容器时使用的用户
USER 1000
# 2025-04-01 13:20:56 0.00B 设置工作目录为/home/kasm-user
WORKDIR /home/kasm-user
# 2025-04-01 13:20:56 0.00B 声明容器运行时监听的端口
EXPOSE map[4901/tcp:{} 5901/tcp:{} 6901/tcp:{}]
# 2025-04-01 13:20:56 0.00B 设置环境变量 AUDIO_PORT DEBIAN_FRONTEND DISPLAY DISTRO GOMP_SPINCOUNT HOME INST_SCRIPTS KASMVNC_AUTO_RECOVER KASM_VNC_PATH LANG LANGUAGE LC_ALL LD_LIBRARY_PATH LD_LIBRARY_PATH MAX_FRAME_RATE NO_VNC_PORT NVIDIA_DRIVER_CAPABILITIES OMP_WAIT_POLICY PULSE_RUNTIME_PATH SDL_GAMECONTROLLERCONFIG SHELL START_PULSEAUDIO STARTUPDIR START_XFCE4 TERM VNC_COL_DEPTH VNCOPTIONS -DynamicQualityMin -DynamicQualityMax -DLP_ClipDelay VNC_PORT VNC_PORT VNC_PW VNC_RESOLUTION VNC_RESOLUTION VNC_VIEW_ONLY_PW TZ
ENV AUDIO_PORT=4901 DEBIAN_FRONTEND=noninteractive DISPLAY=:1 DISTRO=ubuntu GOMP_SPINCOUNT=0 HOME=/home/kasm-user INST_SCRIPTS=/dockerstartup/install KASMVNC_AUTO_RECOVER=true KASM_VNC_PATH=/usr/share/kasmvnc LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/opt/libjpeg-turbo/lib64/:/usr/local/lib/ LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 MAX_FRAME_RATE=24 NO_VNC_PORT=6901 NVIDIA_DRIVER_CAPABILITIES=graphics,compat32,utility OMP_WAIT_POLICY=PASSIVE PULSE_RUNTIME_PATH=/var/run/pulse SDL_GAMECONTROLLERCONFIG=030000005e040000be02000014010000,XInput Controller,platform:Linux,a:b0,b:b1,x:b2,y:b3,back:b8,guide:b16,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:b12,dpdown:b13,dpleft:b14,dpright:b15,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7 SHELL=/bin/bash START_PULSEAUDIO=1 STARTUPDIR=/dockerstartup START_XFCE4=1 TERM=xterm VNC_COL_DEPTH=24 VNCOPTIONS=-PreferBandwidth -DynamicQualityMin=4 -DynamicQualityMax=7 -DLP_ClipDelay=0 VNC_PORT=5901 VNC_PORT=5901 VNC_PW=vncpassword VNC_RESOLUTION=1280x1024 VNC_RESOLUTION=1280x720 VNC_VIEW_ONLY_PW=vncviewonlypassword TZ=Etc/UTC
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG TZ=Etc/UTC
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG START_XFCE4=1
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG START_PULSEAUDIO=1
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG LC_ALL=en_US.UTF-8
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG LANGUAGE=en_US:en
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG LANG=en_US.UTF-8
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG EXTRA_SH=noop.sh
# 2025-04-01 13:20:56 0.00B 定义构建参数
ARG DISTRO=ubuntu
# 2025-04-01 13:20:56 0.00B 添加元数据标签
LABEL com.kasmweb.gpu_acceleration_egl=nvidia
# 2025-04-01 13:20:56 0.00B 添加元数据标签
LABEL com.kasmweb.image=true
# 2025-04-01 13:20:56 0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Kasm Tech "info@kasmweb.com"
# 2025-04-01 13:20:56 2.79GB 复制新文件或目录到容器中
COPY / / # buildkit
镜像信息
{
"Id": "sha256:01fc4a2caa438544b096299f203d19c78b064ca9628227adb7f31b2842c32aaf",
"RepoTags": [
"kasmweb/chromium:1.16.1-rolling-daily",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/kasmweb/chromium:1.16.1-rolling-daily"
],
"RepoDigests": [
"kasmweb/chromium@sha256:9f21c54dc9e818f095541b14c1c8bf3efae6dc217bf29f48f25bfa8a3c33c305",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/kasmweb/chromium@sha256:02e20f13f146d26740ba389ca386c3edb02de7e6596b2cad4c86dee0291bb3b2"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-04-01T08:32:34.705928509Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "1000",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"4901/tcp": {},
"5901/tcp": {},
"6901/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"AUDIO_PORT=4901",
"DEBIAN_FRONTEND=noninteractive",
"DISPLAY=:1",
"DISTRO=ubuntu",
"GOMP_SPINCOUNT=0",
"HOME=/home/kasm-user",
"INST_SCRIPTS=/dockerstartup/install",
"KASMVNC_AUTO_RECOVER=true",
"KASM_VNC_PATH=/usr/share/kasmvnc",
"LANG=en_US.UTF-8",
"LANGUAGE=en_US:en",
"LC_ALL=en_US.UTF-8",
"LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
"MAX_FRAME_RATE=24",
"NO_VNC_PORT=6901",
"NVIDIA_DRIVER_CAPABILITIES=graphics,compat32,utility",
"OMP_WAIT_POLICY=PASSIVE",
"PULSE_RUNTIME_PATH=/var/run/pulse",
"SDL_GAMECONTROLLERCONFIG=030000005e040000be02000014010000,XInput Controller,platform:Linux,a:b0,b:b1,x:b2,y:b3,back:b8,guide:b16,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:b12,dpdown:b13,dpleft:b14,dpright:b15,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
"SHELL=/bin/bash",
"START_PULSEAUDIO=1",
"STARTUPDIR=/dockerstartup",
"START_XFCE4=1",
"TERM=xterm",
"VNC_COL_DEPTH=24",
"VNCOPTIONS=-PreferBandwidth -DynamicQualityMin=4 -DynamicQualityMax=7 -DLP_ClipDelay=0",
"VNC_PORT=5901",
"VNC_PW=vncpassword",
"VNC_RESOLUTION=1280x720",
"VNC_VIEW_ONLY_PW=vncviewonlypassword",
"TZ=Etc/UTC",
"KASM_RESTRICTED_FILE_CHOOSER=1"
],
"Cmd": [
"--wait"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/home/kasm-user",
"Entrypoint": [
"/dockerstartup/kasm_default_profile.sh",
"/dockerstartup/vnc_startup.sh",
"/dockerstartup/kasm_startup.sh"
],
"OnBuild": null,
"Labels": {
"com.kasmweb.gpu_acceleration_egl": "nvidia",
"com.kasmweb.image": "true",
"org.opencontainers.image.authors": "Kasm Tech \"info@kasmweb.com\""
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 3231961627,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/36e578c9d54d7263e351e4459a6436ae389ab85f3cd0552b3618be7a4c5f8e39/diff:/var/lib/docker/overlay2/68f496fa97c4c29a1bc7ed288b132db62cc340fc4777720d4905c6329ea30585/diff:/var/lib/docker/overlay2/53b832a493885713b103dca604feff4fc8ff17a9ba08755c0ce55d2c4be8fbd5/diff:/var/lib/docker/overlay2/043b727c17ae5a25a52de43e251fb1bb07f2acf88ec77cd7c7dd805c2d8fecea/diff:/var/lib/docker/overlay2/2bdd69cb6d02c1c1308bb5bfa263039f373c8e3c53a250aa1c4e2d32e8f91615/diff:/var/lib/docker/overlay2/f1b7fb858f13c535c42b5f4fff82e3f5d76083ad21941ac270ea239433b77cbd/diff:/var/lib/docker/overlay2/ea47b4466c636bd548a1573da6e45634f89785b3856934d98240e0148bff4592/diff:/var/lib/docker/overlay2/2bde49c1da3114dd339da70587c9f803b95a5f0b34492f8c820f6d87ed192cb3/diff:/var/lib/docker/overlay2/55a605d8f5e6d4cfbe1c76d785d41dc113e45c9055db408cde9d6c5d69079bb1/diff:/var/lib/docker/overlay2/b3de0a03f2ceab11ac403e70b1936e4c21c6974a1b2d223814337e22a17ea36a/diff:/var/lib/docker/overlay2/00bc4c83d669d5def54dce843d011460a73f763612cb659adef4046c3ffff324/diff:/var/lib/docker/overlay2/1c4d30a37be43db3370540d7d9c9715dfd57928271b5dd573bae355413bb0f4f/diff:/var/lib/docker/overlay2/70710caeed80c5dd3485a6008f7f76a560dd6e57e7c3c1cced35698624686540/diff:/var/lib/docker/overlay2/e6903f310bc3ba7020ba9613dc575113b2894a0d4fa786a47d9ad601860b81c1/diff:/var/lib/docker/overlay2/f31966b2ac3bfd44ed976169936ace50bb564b484b2d0e9c90b509fbdef8c748/diff:/var/lib/docker/overlay2/da4cbad504f6acb3286f501a670d54a5b987695d3f094b110dac723c299229e3/diff:/var/lib/docker/overlay2/a2b875ae4d60831036e2af6f8074688b3015d2a69171f3ddec8dd6f4fb0fa237/diff:/var/lib/docker/overlay2/31e8eab3341f212ccf78896372ec58749eddbb87c4b0eac447e2f2466f7a19fd/diff",
"MergedDir": "/var/lib/docker/overlay2/7470e9d9eca3d3a184da9819affbc2ad93b1ab7430fc3c8fe3ebf816342d69fa/merged",
"UpperDir": "/var/lib/docker/overlay2/7470e9d9eca3d3a184da9819affbc2ad93b1ab7430fc3c8fe3ebf816342d69fa/diff",
"WorkDir": "/var/lib/docker/overlay2/7470e9d9eca3d3a184da9819affbc2ad93b1ab7430fc3c8fe3ebf816342d69fa/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:369880063899b22fe31f984fe5caf2543553bdb500628ec8a37f4c5e63691a4a",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:e85f6e9b7b4e6180c61c99dcd87dd8ec98fd7303342e24ae8d1f2fca4ef6597a",
"sha256:2112e209880a9aaf190085869cb40d8e527293639091ef36a0c0ba105b8b4d9f",
"sha256:f188cd46ba3e49e57d72dde61fcdb5cd0e71d63f7cc56b7ce5d9548c91ca1a27",
"sha256:b814881fcd5ec3d2204b6577c1169cbb319160317bf2c94f60093731c56b0b4d",
"sha256:086c4c8f93d03aca4bf289d7428313ae37524759174a08f12c86e16b7ecdefd8",
"sha256:dfc811591517961625cdd7381e9c27497319e24aa57570db21b29b1088f914ef",
"sha256:559107419cac24641ae61939ce4b61c093d077679475d6bdb506f0af794d5a2e",
"sha256:b4da477a74a21cd0ae0d495fe1d218b7018d1c7361f92bb764f77cbb921225be",
"sha256:4b2fcbc7018bab9448f7a1be47a8e78adad7a1adaffed7b29cff03d758cd0a4c",
"sha256:15c1635b9261398173e2ed4cfc7e57c8ce5fbc0d2783908f6678d009367be760",
"sha256:4ae6a60a466ae8962e0cdbd1ac2d1aaa1ad10aad9c646e53f5f4104c6327fb61",
"sha256:fb60fd7cfee24928a864d0256bad814c16b2c603f2b30dcdc22805a1f46d3912",
"sha256:d1f872afe2a68eb2b5dad21cc9b1c94c5b291938229826dd1491afad232a0cdf",
"sha256:d4491431e4ac81474e6a941eac0ff137d6aff5f3fc1ea17ff3762eef212e2d07",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:141a7254e35b173d9e83c450db1706ff1d848846449aefc4f63c21b32d54560d"
]
},
"Metadata": {
"LastTagTime": "2025-04-02T00:21:48.175822049+08:00"
}
}