Namespace
lorenestindebfb32
Image / Tag
ubuntu-dts:20250611
Content Digest
sha256:a2a550bdc4ed462f29e13a052f768e0629f73f6867d1e919013baa9c92c82313
Details
Created

2025-06-11 16:18:08 +0800

Size

1.63 GB

Content Digest
Labels
  • author
    tangjie.zheng@greatdb.com
  • description
    Dockerfile for DTS CI test (x86-ubuntu-24.04)
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
LANG

zh_CN.UTF-8

LANGUAGE

zh_CN:zh:en_US:en

LD_LIBRARY_PATH

/opt/oracle/client

NLS_LANG

SIMPLIFIED CHINESE_CHINA.AL32UTF8

ORACLE_HOME

/opt/oracle/client

PATH

/opt/oracle/client:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:d9d352c11bbd3880007953ed6eec1cbace76898828f3434984a0ca60672fdf5a - 1.7% (28.3 MB)

[#001] sha256:7e5754f814d45802499433901bac5211e1aa9bfa481d275e1dffee2daefaf6f6 - 14.52% (242 MB)

[#002] sha256:5ec5bbb7f65cfec349a281a1fa536cf77a8bcba0c9e59ce38af5fc5df7deae7f - 0.0% (164 Bytes)

[#003] sha256:b2db8f88465c90a95135b41efa8390c437c3dcd35275d638ff322c15d7c0de2b - 4.49% (74.7 MB)

[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#005] sha256:f910262df18af324c18dbe51197ae3660d1ad06a895e5a5e83bcd85a5ffe75dd - 9.61% (160 MB)

[#006] sha256:7e663fb8227bc2045126bdaa03f36ad7b9ac913429be60c366c73d2110cf2685 - 0.0% (185 Bytes)

[#007] sha256:4b4c17c565c78fbdcece480e15a3f1b3efc62c40afa89229305575ca1c40bd0c - 2.63% (43.8 MB)

[#008] sha256:bb4b1f02527cf171754209f06bf871894934bc01caf13a1d6b521ff16449b90d - 18.45% (307 MB)

[#009] sha256:bc461db059530a459e1d30996d20c9ca58933adccb4d0cb80f32923932d3f2f4 - 48.6% (809 MB)


History
2025-05-29 04:20:59 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-05-29 04:20:59 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-05-29 04:20:59 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-05-29 04:20:59 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2025-05-29 04:21:01 UTC

/bin/sh -c #(nop) ADD file:598ca0108009b5c2e9e6f4fc4bd19a6bcd604fccb5b9376fac14a75522a5cfa3 in /

2025-05-29 04:21:01 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-06-11 15:49:58 +0800 (buildkit.dockerfile.v0)

LABEL author=tangjie.zheng@greatdb.com description=Dockerfile for DTS CI test (x86-ubuntu-24.04)

2025-06-11 15:49:58 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux # 启用严格模式:出错即终止,显示执行过程 # 基础工具与开发依赖 apt update -y apt install -y \ net-tools iputils-ping wget vim git \ unzip sudo libaio-dev gnupg build-essential python3-dev\ python3 python3-pip python3-full python3-venv python3-pytest # buildkit

2025-06-11 15:49:59 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /opt/oracle/client # buildkit

2025-06-11 15:49:59 +0800 (buildkit.dockerfile.v0)

COPY oracle_client/ /tmp/ # buildkit

2025-06-11 15:49:59 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c ls -l /tmp/instantclient-* # buildkit

2025-06-11 15:50:03 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux unzip /tmp/instantclient-basic-linux.x64-*.zip -d /opt/oracle/ unzip -n /tmp/instantclient-sdk-linux.x64-*.zip -d /opt/oracle/ unzip -n /tmp/instantclient-sqlplus-linux.x64-*.zip -d /opt/oracle/ unzip -n /tmp/instantclient-jdbc-linux.x64-*.zip -d /opt/oracle/ # 合并文件到目标目录 cp -r /opt/oracle/instantclient_*/* /opt/oracle/client/ rm -rf /tmp/instantclient* # 清理临时文件 # buildkit

2025-06-11 15:50:03 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sfn /usr/lib/x86_64-linux-gnu/libaio.so /usr/lib/x86_64-linux-gnu/libaio.so.1 # buildkit

2025-06-11 15:50:03 +0800 (buildkit.dockerfile.v0)

ENV ORACLE_HOME=/opt/oracle/client LD_LIBRARY_PATH=/opt/oracle/client PATH=/opt/oracle/client:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NLS_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8

2025-06-11 15:50:52 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux # 安装语言包与字体 apt install -y --no-install-recommends \ language-pack-zh-hans \ fonts-droid-fallback ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming # 配置系统编码 update-locale LANG=zh_CN.UTF-8 # buildkit

2025-06-11 15:50:52 +0800 (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8 LANGUAGE=zh_CN:zh:en_US:en

2025-06-11 15:59:22 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux # 安装Chromium作为基础浏览器 apt install -y --no-install-recommends chromium-browser # 添加Google Chrome官方源 wget -O /tmp/google.pub https://dl-ssl.google.com/linux/linux_signing_key.pub gpg --no-default-keyring --keyring /etc/apt/keyrings/google-chrome.gpg --import /tmp/google.pub echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list # 安装稳定版Google Chrome apt update -y apt install -y --no-install-recommends google-chrome-stable # buildkit

2025-06-11 16:18:08 +0800 (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux # 创建并激活虚拟环境 python3 -m venv /root/venv . /root/venv/bin/activate # 配置国内PyPI镜像 python -m pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade pip pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple # 安装测试与自动化依赖 python -m pip install \ pytest \ pytest-playwright pymysql pytest-html \ PyYAML pixelmatch openpyxl pillow playwright pytest-xdist python3 -m pip install "pytest-rerunfailures==13.0" "PyYAML==6.0.1" python3 -m pip install allure-pytest cx_Oracle loguru python3 -m pip install pandas # 安装Playwright浏览器驱动 playwright install playwright install --with-deps # buildkit

2025-06-11 16:18:08 +0800 (buildkit.dockerfile.v0)

EXPOSE map[22/tcp:{}]

2025-06-11 16:18:08 +0800 (buildkit.dockerfile.v0)

CMD ["/bin/bash"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete