From f6f108b19e749695532baa31c0f3b6134de57ef7 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 13 Jan 2019 11:33:03 +0530 Subject: [PATCH] release 3.1-2 --- README.md | 14 +++++++------- VERSION | 2 +- docker-compose.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5292fb6..969fefb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Circle CI](https://circleci.com/gh/sameersbn/docker-apt-cacher-ng.svg?style=shield)](https://circleci.com/gh/sameersbn/docker-apt-cacher-ng) [![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/apt-cacher-ng/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/apt-cacher-ng) -# sameersbn/apt-cacher-ng:3.1-1 +# sameersbn/apt-cacher-ng:3.1-2 - [Introduction](#introduction) - [Contributing](#contributing) @@ -53,7 +53,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co > **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/apt-cacher-ng) ```bash -docker pull sameersbn/apt-cacher-ng:3.1-1 +docker pull sameersbn/apt-cacher-ng:3.1-2 ``` Alternatively you can build the image yourself. @@ -70,7 +70,7 @@ Start Apt-Cacher NG using: docker run --name apt-cacher-ng --init -d --restart=always \ --publish 3142:3142 \ --volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \ - sameersbn/apt-cacher-ng:3.1-1 + sameersbn/apt-cacher-ng:3.1-2 ``` *Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)* @@ -83,7 +83,7 @@ You can customize the launch command of Apt-Cacher NG server by specifying argum docker run --name apt-cacher-ng --init -it --rm \ --publish 3142:3142 \ --volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \ - sameersbn/apt-cacher-ng:3.1-1 -h + sameersbn/apt-cacher-ng:3.1-2 -h ``` ## Persistence @@ -161,7 +161,7 @@ Using the [Command-line arguments](#command-line-arguments) feature, you can spe docker run --name apt-cacher-ng --init -it --rm \ --publish 3142:3142 \ --volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \ - sameersbn/apt-cacher-ng:3.1-1 -e + sameersbn/apt-cacher-ng:3.1-2 -e ``` The same can also be achieved on a running instance by visiting the url http://localhost:3142/acng-report.html in the web browser and selecting the **Start Scan and/or Expiration** option. @@ -173,7 +173,7 @@ To upgrade to newer releases: 1. Download the updated Docker image: ```bash - docker pull sameersbn/apt-cacher-ng:3.1-1 + docker pull sameersbn/apt-cacher-ng:3.1-2 ``` 2. Stop the currently running image: @@ -193,7 +193,7 @@ To upgrade to newer releases: ```bash docker run --name apt-cacher-ng --init -d \ [OPTIONS] \ - sameersbn/apt-cacher-ng:3.1-1 + sameersbn/apt-cacher-ng:3.1-2 ``` ## Shell Access diff --git a/VERSION b/VERSION index fac8c47..eb1f2d8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1-1 +3.1-2 diff --git a/docker-compose.yml b/docker-compose.yml index ca62bab..7307423 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '2.2' services: apt-cacher-ng: restart: always - image: sameersbn/apt-cacher-ng:3.1-1 + image: sameersbn/apt-cacher-ng:3.1-2 init: true ports: - "3142:3142"