Skip to content

Commit 0ceb08b

Browse files
authored
Merge pull request #2 from stackhpc/update
Refresh the image
2 parents d1b023c + 6e52e71 commit 0ceb08b

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM centos:centos7
2-
MAINTAINER StackHPC
1+
FROM centos:centos8
2+
LABEL maintainer=StackHPC
33

4-
ENV SQUID_VERSION=3.5.20 \
4+
ENV SQUID_VERSION=4.4 \
55
SQUID_CACHE_DIR=/var/spool/squid \
66
SQUID_LOG_DIR=/var/log/squid \
77
SQUID_USER=squid
88

9-
RUN yum install -y \
9+
RUN dnf install -y \
1010
which \
1111
squid-${SQUID_VERSION}
1212

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# stackhpc/squid:3.5.20
1+
# stackhpc/squid:4.4-8
22

33
- [Introduction](#introduction)
44
- [Contributing](#contributing)
@@ -53,7 +53,7 @@ If the above recommendations do not help then [report your issue](../../issues/n
5353
## Installation
5454

5555
```bash
56-
docker pull stackhpc/squid:3.5.20-1
56+
docker pull stackhpc/squid:4.4-8
5757
```
5858

5959
Alternatively you can build the image yourself.
@@ -71,7 +71,7 @@ docker run --name squid -d --restart=always \
7171
--publish 3128:3128 \
7272
--volume /srv/docker/squid/log:/var/log/squid \
7373
--volume /srv/docker/squid/cache:/var/spool/squid \
74-
stackhpc/squid:3.5.20-1
74+
stackhpc/squid:4.4-8
7575
```
7676

7777
*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/)*
@@ -85,7 +85,7 @@ docker run --name squid -it --rm \
8585
--publish 3128:3128 \
8686
--volume /srv/docker/squid/log:/var/log/squid \
8787
--volume /srv/docker/squid/cache:/var/spool/squid \
88-
stackhpc/squid:3.5.20-1 -h
88+
stackhpc/squid:4.4-8 -h
8989
```
9090

9191
## Persistence
@@ -110,7 +110,7 @@ docker run --name squid -d --restart=always \
110110
--publish 3128:3128 \
111111
--volume /path/to/squid.conf:/etc/squid/squid.conf \
112112
--volume /srv/docker/squid/cache:/var/spool/squid \
113-
stackhpc/squid:3.5.20-1
113+
stackhpc/squid:4.4-8
114114
```
115115

116116
To reload the Squid configuration on a running instance you can send the `HUP` signal to the container.
@@ -158,7 +158,7 @@ To upgrade to newer releases:
158158
1. Download the updated Docker image:
159159

160160
```bash
161-
docker pull stackhpc/squid:3.5.20-1
161+
docker pull stackhpc/squid:4.4-8
162162
```
163163

164164
2. Stop the currently running image:
@@ -178,7 +178,7 @@ To upgrade to newer releases:
178178
```bash
179179
docker run -name squid -d \
180180
[OPTIONS] \
181-
stackhpc/squid:3.5.20-1
181+
stackhpc/squid:4.4-8
182182
```
183183

184184
## Shell Access

0 commit comments

Comments
 (0)