Skip to content

Commit

Permalink
Update to next ubuntu LTS jammy
Browse files Browse the repository at this point in the history
apt-cacher-ng 3.7.4 is not available for focal
  • Loading branch information
gromain committed Feb 17, 2022
1 parent 0154edf commit d5c4af7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:focal-20220113
FROM ubuntu:jammy-20220130

LABEL maintainer="sameer@damagehead.com"

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:3.7.4-20220113
# sameersbn/apt-cacher-ng:3.7.4-20220130

- [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:3.7.4-20220113
docker pull sameersbn/apt-cacher-ng:3.7.4-20220130
```

Alternatively you can build the image yourself.
Expand All @@ -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.7.4-20220113
sameersbn/apt-cacher-ng:3.7.4-20220130
```

*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 --init -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:3.7.4-20220113 -h
sameersbn/apt-cacher-ng:3.7.4-20220130 -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 --init -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:3.7.4-20220113 -e
sameersbn/apt-cacher-ng:3.7.4-20220130 -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:3.7.4-20220113
docker pull sameersbn/apt-cacher-ng:3.7.4-20220130
```

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

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.4-20220113
3.7.4-20220130
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: '3'
services:
apt-cacher-ng:
restart: always
image: sameersbn/apt-cacher-ng:3.7.4-20220113
image: sameersbn/apt-cacher-ng:3.7.4-20220130
init: true
ports:
- "3142:3142"
Expand Down

0 comments on commit d5c4af7

Please sign in to comment.