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

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

9
浏览次数
138.55MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1202
源镜像
docker.io/lincenying/api-bun-postgre:1.26.1202
镜像ID
sha256:4d761a13c32328854e42ed0e1f5d19f1013766ffa8b6e1d55a637a59927c962f
镜像 TAG
1.26.1202
镜像大小
138.55MB
平台架构
linux/amd64
镜像源
docker.io
CMD
./entrypoint-api.sh
启动入口
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-12-02T22:53:09.601681293+08:00
同步时间
2026-12-02 23:13
浏览量
9 次
贡献者
avatar lincenying
🔌 开放端口 1
4000/tcp
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
NODE_ENV=production 1

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#lincenying/api-bun-postgre:1.26.1202#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1202#' 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.1202 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1202  docker.io/lincenying/api-bun-postgre:1.26.1202'

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.1202 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1202  docker.io/lincenying/api-bun-postgre:1.26.1202'

镜像构建历史


# 2026-12-02 22:53:09  0.00B 设置默认要执行的命令
CMD ["./entrypoint-api.sh"]
                        
# 2026-12-02 22:53:09  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-12-02 22:53:09  4.10KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x ./entrypoint-api.sh ./server ./migrate # buildkit
                        
# 2026-12-02 22:53:07  12.29KB 复制新文件或目录到容器中
COPY ./entrypoint-api.sh ./entrypoint-api.sh # buildkit
                        
# 2026-12-02 22:53:07  0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
                        
# 2026-12-02 22:53:07  16.38KB 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p uploads .data # buildkit
                        
# 2026-12-02 22:53:07  16.38KB 复制新文件或目录到容器中
COPY ./dist/index.html ./dist/index.html # buildkit
                        
# 2026-12-02 22:53:07  12.29KB 复制新文件或目录到容器中
COPY .env.production ./.env.production # buildkit
                        
# 2026-12-02 22:53:07  12.29KB 复制新文件或目录到容器中
COPY .env ./.env # buildkit
                        
# 2026-12-02 22:53:07  831.49KB 复制新文件或目录到容器中
COPY ./public ./public # buildkit
                        
# 2026-12-02 22:40:22  36.86KB 复制新文件或目录到容器中
COPY ./views ./views # buildkit
                        
# 2026-12-02 22:40:22  20.48KB 复制新文件或目录到容器中
COPY ./config ./config # buildkit
                        
# 2026-12-02 22:40:22  28.67KB 复制新文件或目录到容器中
COPY ./drizzle-ledger ./drizzle-ledger # buildkit
                        
# 2026-12-02 22:40:22  45.06KB 复制新文件或目录到容器中
COPY ./drizzle-postgre ./drizzle-postgre # buildkit
                        
# 2026-12-02 22:40:22  109.59MB 复制新文件或目录到容器中
COPY /app/migrate migrate # buildkit
                        
# 2026-12-02 22:40:22  112.15MB 复制新文件或目录到容器中
COPY /app/server server # buildkit
                        
# 2026-12-02 22:40:21  9.63MB 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's|deb.debian.org|mirrors.tuna.tsinghua.edu.cn|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-12-02 22:40:15  8.19KB 设置工作目录为/app
WORKDIR /app
                        
# 2026-11-23 08:00:00  85.30MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1795392000'
                        
                    

镜像信息

{
    "Id": "sha256:4d761a13c32328854e42ed0e1f5d19f1013766ffa8b6e1d55a637a59927c962f",
    "RepoTags": [
        "lincenying/api-bun-postgre:1.26.1202",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1202"
    ],
    "RepoDigests": [
        "lincenying/api-bun-postgre@sha256:4d761a13c32328854e42ed0e1f5d19f1013766ffa8b6e1d55a637a59927c962f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre@sha256:4d761a13c32328854e42ed0e1f5d19f1013766ffa8b6e1d55a637a59927c962f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-12-02T22:53:09.601681293+08:00",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "4000/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": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 138547017,
    "GraphDriver": {
        "Data": null,
        "Name": "overlayfs"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:606229031e76a82c486df00d2565c45a89bb848a4df0fb315d9c4c47b3682530",
            "sha256:8045e28742f07be13087e62c42afc551a7c3b6b687eb062669eacacb102cb4ed",
            "sha256:de1debc2b39bc0f68fd57de31b979c565ed130329b0e71ac8ce7b230f0bfb110",
            "sha256:a2223cc8db45c8473801687dafa1c0f2c707fffbbb987f2221243538ded44850",
            "sha256:19f7a3754c760335f5a6b257cf0fc3c7a1c4fe8ccc03403f28dc64d43dcc77d8",
            "sha256:ffa79a201ab60febc0c8c1307c6955cbc7d3a573a332f21e9674f54e609c4851",
            "sha256:4b8c1cec4ff2da05c18d18158b900b7e6f706d1f8b20ac88ed12447f7b0d0751",
            "sha256:477577030950eed4a8e85a3920774b572f239745f1ec46aeb936bfc83f29f8b3",
            "sha256:1a4c1634b7ad15cc1a5f3d918c86dd5d8d60c7db09bb90f7226e09818f423f7d",
            "sha256:bc3fdf3ce5b560b6de85d05c44c6d45efbea543bdc86bd63b876aed425564385",
            "sha256:c0787a3918ef9d6be0b9baae4d5dfbc1cb63d929f44229f2969049d57d11850e",
            "sha256:5face031348d31c10cc29f18e651e9ec43ae6277f781a84497eb91d17ae93a6a",
            "sha256:1f232b4eaa9b14187489b6d402127ad017b8c38b6e77801db26e7e71cc54d813",
            "sha256:92d2ac9d5a7ba9c5beb2d3885d94208671df6d4d7b3ab98334acd04a111b82b0",
            "sha256:b54e602acb8421f28dc8841cda2e644d69751f911995a802abf115d95310c85f",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-12-02T15:12:43.126000521Z"
    }
}

更多版本

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

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

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

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

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

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

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

linux/amd64 docker.io285.20MB2026-07-31 17:34
167

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

linux/amd64 docker.io285.20MB2026-08-03 10:56
168

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

linux/amd64 docker.io285.21MB2026-08-03 17:58
160

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

linux/amd64 docker.io253.47MB2026-09-30 17:58
128

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

linux/amd64 docker.io253.45MB2026-10-16 15:34
76

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

linux/amd64 docker.io306.60MB2026-11-05 16:55
72

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

linux/amd64 docker.io305.88MB2026-11-06 22:57
82

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

linux/amd64 docker.io305.88MB2026-11-06 23:44
90

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

linux/amd64 docker.io305.87MB2026-11-12 17:17
64

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

linux/amd64 docker.io305.89MB2026-11-16 11:04
56

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

linux/amd64 docker.io305.89MB2026-11-16 11:45
56

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

linux/amd64 docker.io305.89MB2026-11-16 14:36
55

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

linux/amd64 docker.io138.55MB2026-12-02 23:13
8
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×