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

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

12
浏览次数
139.47MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1203
源镜像
docker.io/lincenying/api-bun-postgre:1.26.1203
镜像ID
sha256:5b4b6f7bf8d874467e9b278e01a50f50d897ebd4c532968cfc26c13be78b5c2e
镜像 TAG
1.26.1203
镜像大小
139.47MB
平台架构
linux/amd64
镜像源
docker.io
CMD
./entrypoint-api.sh
启动入口
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-12-03T02:42:23.413523193Z
同步时间
2026-12-03 10:46
浏览量
12 次
贡献者
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.1203
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1203  docker.io/lincenying/api-bun-postgre:1.26.1203

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2026-12-03 10:42:23  0.00B 设置默认要执行的命令
CMD ["./entrypoint-api.sh"]
                        
# 2026-12-03 10:42:23  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-12-03 10:42:23  4.10KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x ./entrypoint-api.sh ./server ./migrate # buildkit
                        
# 2026-12-03 10:42:22  12.29KB 复制新文件或目录到容器中
COPY ./entrypoint-api.sh ./entrypoint-api.sh # buildkit
                        
# 2026-12-03 10:42:22  0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
                        
# 2026-12-03 10:42:22  16.38KB 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p uploads .data # buildkit
                        
# 2026-12-03 10:42:22  16.38KB 复制新文件或目录到容器中
COPY ./dist/index.html ./dist/index.html # buildkit
                        
# 2026-12-03 10:42:22  12.29KB 复制新文件或目录到容器中
COPY .env.production ./.env.production # buildkit
                        
# 2026-12-03 10:42:22  12.29KB 复制新文件或目录到容器中
COPY .env ./.env # buildkit
                        
# 2026-12-03 10:42:22  12.29KB 复制新文件或目录到容器中
COPY admin.lock ./admin.lock # buildkit
                        
# 2026-12-03 10:42:22  831.49KB 复制新文件或目录到容器中
COPY ./public ./public # buildkit
                        
# 2026-12-03 10:42:22  36.86KB 复制新文件或目录到容器中
COPY ./views ./views # buildkit
                        
# 2026-12-03 10:42:22  20.48KB 复制新文件或目录到容器中
COPY ./config ./config # buildkit
                        
# 2026-12-03 10:42:22  28.67KB 复制新文件或目录到容器中
COPY ./drizzle-ledger ./drizzle-ledger # buildkit
                        
# 2026-12-03 10:42:22  45.06KB 复制新文件或目录到容器中
COPY ./drizzle-postgre ./drizzle-postgre # buildkit
                        
# 2026-12-03 10:42:22  109.58MB 复制新文件或目录到容器中
COPY /app/migrate migrate # buildkit
                        
# 2026-12-03 10:42:21  112.15MB 复制新文件或目录到容器中
COPY /app/server server # buildkit
                        
# 2026-11-12 15:58:59  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-11-12 15:58:26  8.19KB 设置工作目录为/app
WORKDIR /app
                        
# 2026-11-05 05:23:39  85.30MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1793827419'
                        
                    

镜像信息

{
    "Id": "sha256:5b4b6f7bf8d874467e9b278e01a50f50d897ebd4c532968cfc26c13be78b5c2e",
    "RepoTags": [
        "lincenying/api-bun-postgre:1.26.1203",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1203"
    ],
    "RepoDigests": [
        "lincenying/api-bun-postgre@sha256:5b4b6f7bf8d874467e9b278e01a50f50d897ebd4c532968cfc26c13be78b5c2e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre@sha256:5b4b6f7bf8d874467e9b278e01a50f50d897ebd4c532968cfc26c13be78b5c2e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-12-03T02:42:23.413523193Z",
    "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": 139468526,
    "GraphDriver": {
        "Data": null,
        "Name": "overlayfs"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1d7b9dd8778ebc4d9bf2f64436dd358640718cb349f5640b33bebaea4ffd62c2",
            "sha256:e4fe3f4cf5548c255e97e4d05dcff2fc84941b39771eaddb2600cfe9f866b3a2",
            "sha256:6d94293b11e4b54a421e1009e9caec9b9fcf3007e0afa384c51f310a1a682593",
            "sha256:4547c194fcbf80b9dc57f7661fb62ccdc8198d64ea346439433043709af139fb",
            "sha256:e2b030a6801b7d4a4355a731f9b41b3a58ff73cc69b03f686b06619fd35bc8fd",
            "sha256:90277a76c16344d50a8067e0b03f4e56039235ceca12a4d92e75dae46093e0d9",
            "sha256:c45bfeccffb231c5bea1e040a719e8ad2aa8c4146d39bacb48a133b66407b05d",
            "sha256:f9ca3842842cb256e006e20ace50423d8481c806eab60e2884682b19731e33ac",
            "sha256:b352838400f39d7131540768429cd03a66ed4645bb10fbd0c30b44d32f3255e4",
            "sha256:bf8de78d7b93cb67581f9afbd53ec520cbfd3bbd780ea3a4c906278ab7e9b374",
            "sha256:20a09849bacddf4e17b8d8b47a880d0eee1a0695addc4da783d715785eecdea6",
            "sha256:1a0d417b54ba068b2929b865ed9f4fd07ee0f1f66489252f09efa652efa56729",
            "sha256:5e3eba5a2d1bea4657d3905a117193836fd3a5a1826ac6cc844f6d3f95dd7a0b",
            "sha256:4a44931a6865ec4be2e810712510825426ca14d01b5787c4c07da9809c00b229",
            "sha256:d6d4352f22fcd66601aedc8695664cbd2d107484650fa2848214d5a2004735d6",
            "sha256:563db91178f2b5f533e7e9dc9f9b22fb1adaff80a5fbc8f84759a3db4b1a6855",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-12-03T02:45:53.257901414Z"
    }
}

更多版本

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
169

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

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

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
169

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

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

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
77

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

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

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

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

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
66

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

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

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

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

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

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

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

linux/amd64 docker.io138.55MB2026-12-02 23:13
21

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

linux/amd64 docker.io139.47MB2026-12-03 10:46
11
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×