Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.27 KB

File metadata and controls

56 lines (41 loc) · 2.27 KB

Drycc Pack Base Images

Build Status

This repository is responsible for building and publishing images that builds with Cloud Native Buildpacks' pack command.

Usage

pack build myapp --builder drycc/buildpacks:$codename

System

The basic image is based on Debian system, See the table below for system description:

STACK ID Buildpacks image Operating System
drycc-$codename registry.drycc.cc/drycc/buildpacks:$codename Debian $version $codename

The basic layer of buildpack supports custom software sources and custom software. For example, we can add .deb-list, ·source-list and .build-env files to the project.

cat > ".sources-list" <<EOL
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm main non-free contrib
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm main non-free contrib
deb http://mirrors.cloud.aliyuncs.com/debian-security bookworm/updates main
deb-src http://mirrors.cloud.aliyuncs.com/debian-security bookworm/updates main
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm-updates main non-free contrib
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm-updates main non-free contrib
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm-backports main non-free contrib
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm-backports main non-free contrib
EOL

cat > ".deb-list" <<EOL
libpq-dev
EOL

cat > ".build-env" <<EOL
PIP_INDEX_URL=https://mirrors.cloud.tencent.com/pypi/simple/
EOL

Reference

Pack Images bundles the following technologies together into a single cohesive distribution: