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

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

9
浏览次数
305.89MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1116
源镜像
docker.io/lincenying/api-bun-postgre:1.26.1116
镜像ID
sha256:554d9230d21f97bf6ca2226bf501c7b83f43efec3a77180b66a0764c5cf6b479
镜像 TAG
1.26.1116
镜像大小
305.89MB
平台架构
linux/amd64
镜像源
docker.io
CMD
./entrypoint-api.sh
启动入口
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-11-16T02:48:58.643411317Z
同步时间
2026-11-16 11:04
浏览量
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.1116
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1116  docker.io/lincenying/api-bun-postgre:1.26.1116

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2026-11-16 10:48:58  0.00B 设置默认要执行的命令
CMD ["./entrypoint-api.sh"]
                        
# 2026-11-16 10:48:58  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-11-16 10:48:58  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x ./entrypoint-api.sh ./server ./migrate # buildkit
                        
# 2026-11-16 10:48:58  144.00B 复制新文件或目录到容器中
COPY ./entrypoint-api.sh ./entrypoint-api.sh # buildkit
                        
# 2026-11-16 10:48:58  0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
                        
# 2026-11-16 10:48:57  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p uploads .data # buildkit
                        
# 2026-11-16 10:48:57  1.34KB 复制新文件或目录到容器中
COPY ./dist/index.html ./dist/index.html # buildkit
                        
# 2026-11-16 10:48:57  48.00B 复制新文件或目录到容器中
COPY .env.production ./.env.production # buildkit
                        
# 2026-11-16 10:48:57  49.00B 复制新文件或目录到容器中
COPY .env ./.env # buildkit
                        
# 2026-11-16 10:48:57  770.72KB 复制新文件或目录到容器中
COPY ./public ./public # buildkit
                        
# 2026-11-16 10:48:57  11.49KB 复制新文件或目录到容器中
COPY ./views ./views # buildkit
                        
# 2026-11-16 10:48:57  6.02KB 复制新文件或目录到容器中
COPY ./config ./config # buildkit
                        
# 2026-11-16 10:48:57  23.00KB 复制新文件或目录到容器中
COPY ./drizzle-postgre ./drizzle-postgre # buildkit
                        
# 2026-11-16 10:48:57  109.57MB 复制新文件或目录到容器中
COPY /app/migrate migrate # buildkit
                        
# 2026-11-16 10:48:56  112.13MB 复制新文件或目录到容器中
COPY /app/server server # buildkit
                        
# 2026-11-12 15:58:59  8.50MB 执行命令并创建新的镜像层
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  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2026-11-05 05:23:39  74.87MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1793827419'
                        
                    

镜像信息

{
    "Id": "sha256:554d9230d21f97bf6ca2226bf501c7b83f43efec3a77180b66a0764c5cf6b479",
    "RepoTags": [
        "lincenying/api-bun-postgre:1.26.1116",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre:1.26.1116"
    ],
    "RepoDigests": [
        "lincenying/api-bun-postgre@sha256:a05767810fe9d32d2f640b9f0009426e02e9b8f2e9e042837ea740813dea4bfb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/lincenying/api-bun-postgre@sha256:e4d725e2efc7e919e4ba130be8c352cc3855d7046dbb3f873be9f83120c1001f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-16T02:48:58.643411317Z",
    "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": 305893610,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1982972d4252859e0ac8dd7b8f301a832fafdc60948324a79ddf0d7ed6cb445f/diff:/var/lib/docker/overlay2/7f0c88f3c12166e541f61550a6b209cc2817ed361ed2ecf865726a421e0137ab/diff:/var/lib/docker/overlay2/290a067ac0893f61867a4dc4b6570220ed020dfc8ce32f4d24d900d38b488abd/diff:/var/lib/docker/overlay2/ccf09bce0cb83c1ed719b7eabfa9f2417f03e5f501172da54bbd788ca5983dbd/diff:/var/lib/docker/overlay2/1902c33059c4484fe8c46db844450464c1c7935ebee2c78e34a09ce7be225189/diff:/var/lib/docker/overlay2/aa486ec77d4fe302419dfc408ccf8605080345734d48f21e3e54a7e11e502f96/diff:/var/lib/docker/overlay2/24b08f39a922dc7ea3d6fc709950a07b13819694a3a580c049d7ee33f14e9bb5/diff:/var/lib/docker/overlay2/d08f5f67d7905e4aba2b7e283a06a18bcef5899c328809e7cf4b56a00af46a24/diff:/var/lib/docker/overlay2/153ffd65cf51b42ec6eb84859b7633013848bbe160529df30b9b65a9044ee885/diff:/var/lib/docker/overlay2/7607a05bfef02b827103253c939ffe06455d2ab2245180a9a895489f0ab512ec/diff:/var/lib/docker/overlay2/dd31ec05bc2b31ecf8692b565604eb9634526e8b10e55427a72b5ff4f8a289cc/diff:/var/lib/docker/overlay2/f0de13b88c5f44d01ab744d7cce1db4066562a0551f1e95537e6f8393cf2b142/diff:/var/lib/docker/overlay2/3c0a3bad192de428097933054bae8d6eca556dcda6299cc43dae74dfe43ab744/diff:/var/lib/docker/overlay2/01025eec3dfa36144b5f4257f69e6dcf02be2116cc002cd9fa9128fb37cbf231/diff",
            "MergedDir": "/var/lib/docker/overlay2/ce62a57ae9393a0b2f8f8f6de29b460ce465627c35d946dce674960b338ed0e7/merged",
            "UpperDir": "/var/lib/docker/overlay2/ce62a57ae9393a0b2f8f8f6de29b460ce465627c35d946dce674960b338ed0e7/diff",
            "WorkDir": "/var/lib/docker/overlay2/ce62a57ae9393a0b2f8f8f6de29b460ce465627c35d946dce674960b338ed0e7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1d7b9dd8778ebc4d9bf2f64436dd358640718cb349f5640b33bebaea4ffd62c2",
            "sha256:e4fe3f4cf5548c255e97e4d05dcff2fc84941b39771eaddb2600cfe9f866b3a2",
            "sha256:6d94293b11e4b54a421e1009e9caec9b9fcf3007e0afa384c51f310a1a682593",
            "sha256:b3459a4c9a6215ad056d11748dc4f1d7d8defa05828ab8ad5fcc016af8717f2d",
            "sha256:becb1bec95eca305741fab72766f8f2506afd3194fd68b7850107e18139bf62b",
            "sha256:221efd9c0b854bb1b02bc13c02fcc82293778f63a8107405f1a4a9b074c5cef7",
            "sha256:abd346035ec429c2064ebf776de92a9573edeb23d54726993a7e47e4468b8133",
            "sha256:80412405a6f2001b5d517d9c22de1a26f2c83502b02d9a91c73246dd7418ff63",
            "sha256:66c395013b8a97c5626cea5fbbd10aad7dd41323ff67ec0cdfbeb1a52c52edb5",
            "sha256:0c8365df3a578ac14e357da0e7e1d5135959927f392134e51efa4a3e7342506a",
            "sha256:923ff906b6c88269496cc98e412b65589854dc34dac181648d5e9c077d5d83c9",
            "sha256:2e3cd1c3baade78a4fefbb8e1a5ff6f9cedadc31f315f1bc58eb36f8b7f521f1",
            "sha256:d684b8ab2dd1bb8cfee4739cac94b72ca5026d879bc4bb8031a0f9e723685eca",
            "sha256:ae74c7a8f1e804baf4cd61be0290a00334e0c176914edd76e87e041dfd553c0f",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-11-16T11:04:10.287659246+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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