Skip to content

Commit

Permalink
release 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jul 13, 2018
1 parent 91da67b commit 359f27f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV APT_CACHER_NG_VERSION=0.9.1 \

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y apt-cacher-ng=${APT_CACHER_NG_VERSION}* wget \
&& gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
&& gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
&& gpg --fingerprint 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 | grep -q "Key fingerprint = 6380 DC42 8747 F6C3 93FE ACA5 9A84 159D 7001 A4E5" \
&& wget -nv https://github.com/krallin/tini/releases/download/$TINI_VERSION/tini.asc -O tini.asc \
&& wget -nv https://github.com/krallin/tini/releases/download/$TINI_VERSION/tini -O /usr/local/bin/tini \
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:latest
# sameersbn/apt-cacher-ng:0.9.1

- [Introduction](#introduction)
- [Contributing](#contributing)
Expand Down Expand Up @@ -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:latest
docker pull sameersbn/apt-cacher-ng:0.9.1
```

Alternatively you can build the image yourself.
Expand All @@ -70,7 +70,7 @@ Start Apt-Cacher NG using:
docker run --name apt-cacher-ng -d --restart=always \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:latest
sameersbn/apt-cacher-ng:0.9.1
```

*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/)*
Expand All @@ -83,7 +83,7 @@ You can customize the launch command of Apt-Cacher NG server by specifying argum
docker run --name apt-cacher-ng -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:latest -h
sameersbn/apt-cacher-ng:0.9.1 -h
```

## Persistence
Expand Down Expand Up @@ -161,7 +161,7 @@ Using the [Command-line arguments](#command-line-arguments) feature, you can spe
docker run --name apt-cacher-ng -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:latest -e
sameersbn/apt-cacher-ng:0.9.1 -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.
Expand All @@ -173,7 +173,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull sameersbn/apt-cacher-ng:latest
docker pull sameersbn/apt-cacher-ng:0.9.1
```

2. Stop the currently running image:
Expand All @@ -193,7 +193,7 @@ To upgrade to newer releases:
```bash
docker run -name apt-cacher-ng -d \
[OPTIONS] \
sameersbn/apt-cacher-ng:latest
sameersbn/apt-cacher-ng:0.9.1
```

## Shell Access
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.9.1
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2'
services:
apt-cacher-ng:
restart: always
image: sameersbn/apt-cacher-ng:latest
image: sameersbn/apt-cacher-ng:0.9.1
ports:
- "3142:3142"
volumes:
Expand Down

0 comments on commit 359f27f

Please sign in to comment.