Commit Graph

53 Commits

Author SHA1 Message Date
Andrew Hurley e6d28babb3
Update setup.sh
small change of -ri to -Ei on sed command
2020-04-08 22:41:23 +10:00
Andrew Hurley c5f984dc3a Merge remote branch 'origin/master' 2020-04-08 22:22:48 +10:00
Andrew Hurley 25241b8aff Needed to add to README the changes made. 2020-04-08 22:20:31 +10:00
Andrew Hurley b5b3be4200 So many changes sorry.
A. Two new environment vars:
1. WEB_ROOT
the web server will serve from / (/var/www/html) or a deeper directory

2. ARCH
if you only want to mirror amd64 you can use deb-amd64 instead of deb

B. Setup clean.sh to work from postmirror.sh. If postmirror.sh already
exists it is not touched. postmirror.sh can also be
edited to add other commands. It's in /var/www/html/var << this is the
way that apt-mirror works

C. Other little changes.
2020-04-08 21:49:50 +10:00
kongkrit b3e76fe756
Update setup.sh 2020-01-31 15:15:44 +07:00
dude 0a7b57acb9 removed clean? 2020-01-31 12:47:07 +07:00
kongkrit b08fd918ab
Update README.md 2020-01-31 12:00:04 +07:00
dude 3b06924626 Merge branch 'master' of https://github.com/kongkrit/apt-mirror-apache2 2020-01-31 11:54:26 +07:00
dude e3def9906f add support for DIST1..3 2020-01-31 11:53:42 +07:00
kongkrit 8619c1f73c
Added "how to use repos" 2020-01-30 01:04:01 +07:00
kongkrit 4763710dd4
Update README.md 2020-01-29 15:59:00 +07:00
dude 7c17b7dcc5 support EXTRA1..5 2020-01-29 15:38:14 +07:00
kongkrit 6e48e2a951
Update README.md 2020-01-29 15:35:24 +07:00
kongkrit 1e9ca09bb4
Update README.md 2020-01-29 15:34:23 +07:00
kongkrit 4c32d493bc
Update README.md 2020-01-29 15:31:16 +07:00
kongkrit 5b02d6250b
Update README.md 2020-01-04 11:21:14 +07:00
kongkrit 72bfafa316
Update README.md 2020-01-04 11:11:45 +07:00
kongkrit 917eb77cb6
changed repo name to apt-mirror-apache2 2020-01-04 11:07:26 +07:00
dude 0a35617192 added NTHREADS, PUID, PGID support 2020-01-04 10:45:14 +07:00
kongkrit 80b0924af7
Update setup.sh 2020-01-03 02:07:56 +07:00
kongkrit bdc1bb9b89
Update Dockerfile 2020-01-03 02:06:49 +07:00
kongkrit aa1f1a346a
Update README.md 2020-01-03 02:05:21 +07:00
kongkrit a0eaf2ad27
Update README.md 2020-01-03 02:04:24 +07:00
kongkrit 345d06c675
Update README.md 2020-01-03 02:01:06 +07:00
kongkrit bf3ceb01d8
Update README.md 2020-01-02 16:13:57 +07:00
kongkrit a938c7f144
Update README.md 2020-01-02 16:09:45 +07:00
kongkrit 5b1b953009
Update setup.sh 2020-01-02 16:08:27 +07:00
kongkrit e1fccb39b4
Update Dockerfile 2020-01-02 16:07:38 +07:00
kongkrit a8959243a8
Delete mirror.list 2020-01-02 16:06:56 +07:00
kongkrit 9f7499039c
Update README.md 2020-01-02 13:13:46 +07:00
kongkrit df51553298
Update README.md 2020-01-02 13:13:12 +07:00
kongkrit f0b1e19dc5
changed based image to ubuntu 18.04 2020-01-02 13:08:18 +07:00
Terry Chen 3860c5b8ed To fix the issue that the container started twice
Reference: https://github.com/docker-library/php/issues/187
2017-07-27 14:50:31 +08:00
Terry Chen d8befac846 remove /etc/apt volume of Dockerfile 2017-04-29 15:35:07 +08:00
Terry Chen a960c1840b fix http server doesn't start after the container restarted 2017-04-28 08:55:08 +08:00
Terry Chen ac8329fecd fix #1 https isn't handle correctly in setup.sh 2017-04-28 00:59:28 +08:00
Terry Chen af0f82107a fix typo 2017-04-27 14:58:53 +08:00
Terry Chen 4b6c881695 update README.md 2017-04-27 14:51:01 +08:00
Terry Chen 7d36d0fd8d doc: update README.md
add information about docker stars and docker pull
2016-06-02 00:33:57 +08:00
Terry Chen 7b14d43772 change default mirror url 2015-11-05 10:56:38 +08:00
Terry Chen 657976b34b add "status message" into setup.sh 2015-08-19 12:31:17 +08:00
Terry Chen e743abeac5 update setup.sh 2015-08-18 15:24:08 +08:00
Terry Chen 85eb8318fa add ENV MIRROR_URL to replace apt sources of default mirror.list 2015-08-18 14:21:07 +08:00
Terry Chen 05ebe88f72 move TIMEOUT var into Dockerfile 2015-08-17 17:37:27 +08:00
Terry Chen 7ee2b2f418 fix error command 2015-08-15 10:35:32 +08:00
Terry Chen f8896a5dea add default sleep value and update README.md 2015-08-14 10:02:56 +08:00
Terry Chen 271994965f add a var TIMEOUT to repeatedly execute apt-mirror 2015-08-14 09:37:05 +08:00
Terry Chen 9f972466de Update Dockerfile and README.md 2015-08-12 12:34:38 +08:00
Terry Chen d7fc9c8e2a update README.md 2015-08-12 09:58:58 +08:00
Terry Chen 73eaf248d2 add mirror.list and update setup.sh 2015-08-12 09:55:40 +08:00