Skip to content

apt-transport-s3-go is a Go port of apt-transport-s3.

License

Notifications You must be signed in to change notification settings

winebarrel/apt-transport-s3-go

Repository files navigation

apt-transport-s3-go

apt-transport-s3-go is a Go port of apt-transport-s3.

CI Go Report Card

Installation

# download from https://github.com/winebarrel/apt-transport-s3-go/releases
dpkg -i apt-transport-s3-go_x.x.x_amd64.deb

Usage

# aws s3 ls s3://my-bucket/repo/
#                           PRE dists/
#                           PRE pool/

echo 'Acquire::s3::region ap-northeast-1;' > /etc/apt/apt.conf.d/s3
echo 'deb s3://my-bucket/repo/ xenial main' > /etc/apt/sources.list.d/s3.list
apt update
apt install any-pkg

Debug

export ATS3_LOG_LEVEL=debug
apt update

S3 download mode

/usr/lib/apt/methods/s3 s3://my-bucket/key

Related Links