logo
docker.io/lincenying/api-bun-postgre:1.26.0731
linux/amd64 docker.io lincenying 贡献

该Docker镜像包含基于Bun JavaScript运行时构建的API服务,集成了PostgreSQL数据库,适用于快速部署具备数据库支持的API应用场景。

4
浏览次数
285.20MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731
源镜像
docker.io/lincenying/api-bun-postgre:1.26.0731
镜像ID
sha256:9b8f4469b889a8bfef738c788287c636379e76dc8d659b5134814e29fc640a82
镜像 TAG
1.26.0731
镜像大小
285.20MB
平台架构
linux/amd64
镜像源
docker.io
CMD
./entrypoint-api.sh
启动入口
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-07-31T07:30:49.498113719Z
同步时间
2026-07-31 17:34
浏览量
4 次
贡献者
avatar lincenying
🔌 开放端口 1
4080/tcp
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
NODE_ENV=production 1
🏷️ 镜像标签 3
KeyValue
mmf-blog-api-elysia-postgre com.docker.compose.project
api_bun_postgre com.docker.compose.service
5.3.1 com.docker.compose.version
🛡️ 镜像安全扫描
debian 12.14 Trivy 2026-07-31 17:34 查看完整报告
76
低危 LOW
58
中危 MEDIUM
17
高危 HIGH
5
严重 CRITICAL
受影响目标 (1)
docker.io/lincenying/api-bun-postgre:1.26.0731 (debian 12.14) debian

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731  docker.io/lincenying/api-bun-postgre:1.26.0731

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731  docker.io/lincenying/api-bun-postgre:1.26.0731

Shell快速替换命令

sed -i 's#lincenying/api-bun-postgre:1.26.0731#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731  docker.io/lincenying/api-bun-postgre:1.26.0731'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731  docker.io/lincenying/api-bun-postgre:1.26.0731'

镜像构建历史


# 2026-07-31 15:30:49  0.00B 设置默认要执行的命令
CMD ["./entrypoint-api.sh"]
                        
# 2026-07-31 15:30:49  0.00B 声明容器运行时监听的端口
EXPOSE [4080/tcp]
                        
# 2026-07-31 15:30:49  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x ./entrypoint-api.sh ./server ./migrate # buildkit
                        
# 2026-07-31 15:30:48  144.00B 复制新文件或目录到容器中
COPY ./entrypoint-api.sh ./entrypoint-api.sh # buildkit
                        
# 2026-07-31 15:30:48  0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
                        
# 2026-07-31 15:30:48  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p uploads .data # buildkit
                        
# 2026-07-31 15:30:48  1.34KB 复制新文件或目录到容器中
COPY ./dist/index.html ./dist/index.html # buildkit
                        
# 2026-07-31 15:30:48  48.00B 复制新文件或目录到容器中
COPY .env.production ./.env.production # buildkit
                        
# 2026-07-31 15:30:48  65.00B 复制新文件或目录到容器中
COPY .env ./.env # buildkit
                        
# 2026-07-31 15:30:48  768.29KB 复制新文件或目录到容器中
COPY ./public ./public # buildkit
                        
# 2026-07-31 15:30:48  11.49KB 复制新文件或目录到容器中
COPY ./views ./views # buildkit
                        
# 2026-07-31 15:30:48  6.02KB 复制新文件或目录到容器中
COPY ./config ./config # buildkit
                        
# 2026-07-31 15:30:48  13.12KB 复制新文件或目录到容器中
COPY ./drizzle-postgre ./drizzle-postgre # buildkit
                        
# 2026-07-31 15:30:48  98.89MB 复制新文件或目录到容器中
COPY /app/migrate migrate # buildkit
                        
# 2026-07-31 15:30:47  101.45MB 复制新文件或目录到容器中
COPY /app/server server # buildkit
                        
# 2026-06-26 09:25:32  9.23MB 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list.d/debian.sources 	&& apt-get update 	&& apt-get install -y --no-install-recommends ca-certificates 	&& rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-06-26 09:22:48  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2026-06-23 08:00:00  74.83MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800'
                        
                    

镜像信息

{
    "Id": "sha256:9b8f4469b889a8bfef738c788287c636379e76dc8d659b5134814e29fc640a82",
    "RepoTags": [
        "lincenying/api-bun-postgre:1.26.0731",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.0731"
    ],
    "RepoDigests": [
        "lincenying/api-bun-postgre@sha256:c4056931b949bd3efcf4bbb585e2e9b3656e725b989084ec6be3437b260d5064",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre@sha256:9e6326674380ad3fb20aba5f5751f081a9d3d2e4b114a9f2ba02e658b0f92488"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-31T07:30:49.498113719Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "4080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_ENV=production"
        ],
        "Cmd": [
            "./entrypoint-api.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "com.docker.compose.project": "mmf-blog-api-elysia-postgre",
            "com.docker.compose.service": "api_bun_postgre",
            "com.docker.compose.version": "5.3.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 285202651,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9e2517ca9a064c27e666f7eb5781dc6efe0e0fa1f84554eeac5e276332e76ed5/diff:/var/lib/docker/overlay2/89144a5b48991f492b35da0af6915c6fce7c7fbe120294d2b43deb8b54fa2ac9/diff:/var/lib/docker/overlay2/b60fa441072377cc4fb47abede897d1338912c01ef2bf79068e7fb208d62ce5c/diff:/var/lib/docker/overlay2/b44c751940b78f9d99deea4d955d8f580e9f55ffb472fcb0e297576824bb6ccd/diff:/var/lib/docker/overlay2/7f487e6c130930b35f700545f82fc677a89507ded1c40d4a830ba12307a5f6a0/diff:/var/lib/docker/overlay2/1d2ee9261ba3b1b8140a614b3b4c58f82771f6bb3cb33e9955ceb70ee37e8508/diff:/var/lib/docker/overlay2/c8a6962a073b71f11c652e478a55579ae4ee0a92ff3ff8fff3c62048f4072e79/diff:/var/lib/docker/overlay2/608617975c6627f87069923d37d5707148f24815f8f71c33e6337c5039c485b5/diff:/var/lib/docker/overlay2/addf454bf49f91cc90c106a4cd6ef1359a2ca4634ca25dd5ffc31c470661fc0a/diff:/var/lib/docker/overlay2/89c3dcc46a193cab428b73f1dcf4c7fbfdd3cd1b1cac945baa5715e182aa9fc6/diff:/var/lib/docker/overlay2/27c434ad99f021f5ea21e2757ee9798eac26b2cae9b5aee6b9b519c42e1ae33a/diff:/var/lib/docker/overlay2/750c6e518bf4844366e98dd669f6935ac0d8a6d21e5785612cc70242c047114d/diff:/var/lib/docker/overlay2/8f8e7f6e4115e3d25c32bae79a61dc3f74e2ea1d4cc1a5130f5c2d20f9cd1d73/diff:/var/lib/docker/overlay2/787006a7d8e6f02c2afe4bb218ae678559d8b39885f0439fa3417720429bc55d/diff",
            "MergedDir": "/var/lib/docker/overlay2/69d06afd4e175fb8bfed6a7380d23714d2f1e152a13c75031cbf4ead7a25f2b1/merged",
            "UpperDir": "/var/lib/docker/overlay2/69d06afd4e175fb8bfed6a7380d23714d2f1e152a13c75031cbf4ead7a25f2b1/diff",
            "WorkDir": "/var/lib/docker/overlay2/69d06afd4e175fb8bfed6a7380d23714d2f1e152a13c75031cbf4ead7a25f2b1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b05a96227958df6091396f6fbd5aa4616df631a65626ac8688c91cfa70d1a7e6",
            "sha256:ef5f681ad6060edd2255e6ce48b984cfc9162d49608848fd48e385159eabdc48",
            "sha256:cea7895f75b17ad53156cbd1588aa7f77dca0e7787cd7b443cfb0c951d85f868",
            "sha256:5b4a0ae80601117d649f15efc38e6bcf651c1afdbc022f6f9bd418c886c25dc3",
            "sha256:c00147dd46a0e28247cb4b5e112139d667197f6584abe6833ae8dcc6e29b66b6",
            "sha256:4e30ecc0c1cc58c5d3740493e7510c4804e9f235b958e13e152168939807e6fb",
            "sha256:993533ec7837bd8f4490581173cab4d6dd88453620c279c74b4b84bbf20d5402",
            "sha256:8555908c3dd21a6a32f11d2d6a2fa81cd9769f0ae938a7dc5a5130957a57b170",
            "sha256:7ba290e86f2fde41ae979506f07d861e22ccc5b514b152a3626bc3d5551db350",
            "sha256:1e324fa7f89fdfc4cfda5644c329d6ff2d5e89813e30933dcb5aa631b303e80b",
            "sha256:e9e69726ebf2b991397b2ee22f5bf1c01ff05c7cba12960e109d363e8bf8ddaa",
            "sha256:71401fc9d76c805e4594407c0398701c367d467ebd30d6984b9f8426ba7da102",
            "sha256:a34553f3e3a6259a13a401f8d15645c4b06a3eb0466d787d7c41792bad62916d",
            "sha256:aa3739f017eeaaf1027e97e5e0379047676fed2601591cf57632db792d77753a",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-31T17:34:03.38436868+08:00"
    }
}

更多版本

docker.io/lincenying/api-bun-postgre:1.26.0727

linux/amd64 docker.io285.15MB2026-07-27 17:06
31

docker.io/lincenying/api-bun-postgre:1.26.0728

linux/amd64 docker.io285.15MB2026-07-28 09:26
22

docker.io/lincenying/api-bun-postgre:1.26.0729

linux/amd64 docker.io285.15MB2026-07-28 21:24
25

docker.io/lincenying/api-bun-postgre:1.26.0731

linux/amd64 docker.io285.20MB2026-07-31 17:34
3
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×