glenux / docker-debian-repository Goto Github PK
View Code? Open in Web Editor NEWA local repository for publishing deb files for use with apt.
License: Other
A local repository for publishing deb files for use with apt.
License: Other
Adding follow repo to /etc/apt/sources.list
deb http://localhost:49161/debian unstable main contrib non-free
leads to apt update
error
E: The repository 'http://localhost:49161/debian unstable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Shouldn't the ssh port configured in dput 49160 to reflect the one mapped by docker 49160->22?
ssh_config_options =
Port 49160
StrictHostKeyChecking no
Reading the reprepro manpage, the default database is +b/db
which is relative to basedir, which is /var/lib/reprepro
.
However the Dockerfile specifies VOLUMEs as /docker/keys
and /docker/incoming
so it looks like /var/lib/reprepro
is not persisted across multiple starts of the image, which looks pretty wrong. The manpage for reprepro says "One has almost to regenerate the whole repository when this is lost."
I suggest moving the database and any other modified files into persistent data volumes.
Use environment variables plus a template to generate the reprepro-distributions
file.
We need :
That should generate something like :
Origin: Some Awesome Maintainer
Label: Easy Debian Repository
Suite: unstable
Codename: sid
Version: 3.1
Architectures: i386 amd64 powerpc source
Components: main non-free contrib
Description: Easy Debian Repository Unstable
Origin: Some Awesome Maintainer
Label: Easy Debian Repository
Suite: testing
Codename: jessie
Version: 3.1
Architectures: i386 amd64 powerpc source
Components: main non-free contrib
Description: Easy Debian Repository Testing
Origin: Some Awesome Maintainer
Label: Easy Debian Repository
Suite: stable
Codename: buster
Version: 3.1
Architectures: i386 amd64 powerpc source
Components: main non-free contrib
Description: Easy Debian Repository Stable
reprepro-import.sh
implies it.
I need to be able to maintain multiple local distributions, in my case for ubuntu hardy, lucid and trusty. I'll need to add them into configs/reprepro-distributions
but I don't see any option on dput(1) to specify the distribution name and I'm hoping it comes from the debian/changelog
file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.