Skip to content

Commit 59e939d

Browse files
author
Sameer Naik
committed
hub.docker.com now builds images from git tags.
1 parent 1a95bc7 commit 59e939d

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/sameersbn/ubuntu:14.04.20151023
1+
FROM sameersbn/ubuntu:14.04.20151023
22
33

44
ENV SQUID_VERSION=3.3.8 \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
all: build
22

33
build:
4-
@docker build --tag=quay.io/sameersbn/squid .
4+
@docker build --tag=sameersbn/squid .

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Circle CI](https://circleci.com/gh/sameersbn/docker-squid.svg?style=shield)](https://circleci.com/gh/sameersbn/docker-squid) [![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/squid/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/squid)
22

3-
# quay.io/sameersbn/squid:3.3.8-3
3+
# sameersbn/squid:3.3.8-3
44

55
- [Introduction](#introduction)
66
- [Contributing](#contributing)
@@ -47,10 +47,12 @@ If the above recommendations do not help then [report your issue](../../issues/n
4747

4848
## Installation
4949

50-
Automated builds of the image are available on [Quay.io](https://quay.io/repository/sameersbn/squid) and is the recommended method of installation.
50+
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/squid) and is the recommended method of installation.
51+
52+
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/squid)
5153
5254
```bash
53-
docker pull quay.io/sameersbn/squid:3.3.8-3
55+
docker pull sameersbn/squid:3.3.8-3
5456
```
5557

5658
Alternatively you can build the image yourself.
@@ -69,7 +71,7 @@ Start Squid using:
6971
docker run --name squid -d --restart=always \
7072
--publish 3128:3128 \
7173
--volume /srv/docker/squid/cache:/var/spool/squid3 \
72-
quay.io/sameersbn/squid:3.3.8-3
74+
sameersbn/squid:3.3.8-3
7375
```
7476

7577
*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/)*
@@ -82,7 +84,7 @@ You can customize the launch command of the Squid server by specifying arguments
8284
docker run --name squid -it --rm \
8385
--publish 3128:3128 \
8486
--volume /srv/docker/squid/cache:/var/spool/squid3 \
85-
quay.io/sameersbn/squid:3.3.8-3 -h
87+
sameersbn/squid:3.3.8-3 -h
8688
```
8789

8890
## Persistence
@@ -107,7 +109,7 @@ docker run --name squid -d --restart=always \
107109
--publish 3128:3128 \
108110
--volume /path/to/squid.conf:/etc/squid3/squid.conf \
109111
--volume /srv/docker/squid/cache:/var/spool/squid3 \
110-
quay.io/sameersbn/squid:3.3.8-3
112+
sameersbn/squid:3.3.8-3
111113
```
112114

113115
To reload the Squid configuration on a running instance you can send the `HUP` signal to the container.
@@ -155,7 +157,7 @@ To upgrade to newer releases:
155157
1. Download the updated Docker image:
156158

157159
```bash
158-
docker pull quay.io/sameersbn/squid:3.3.8-3
160+
docker pull sameersbn/squid:3.3.8-3
159161
```
160162

161163
2. Stop the currently running image:
@@ -175,7 +177,7 @@ To upgrade to newer releases:
175177
```bash
176178
docker run -name squid -d \
177179
[OPTIONS] \
178-
quay.io/sameersbn/squid:3.3.8-3
180+
sameersbn/squid:3.3.8-3
179181
```
180182

181183
## Shell Access

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Squid:
2-
image: quay.io/sameersbn/squid:3.3.8-3
2+
image: sameersbn/squid:3.3.8-3
33
ports:
44
- "3128:3128"
55
volumes:

kubernetes/pod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
containers:
99
- name: squid
10-
image: quay.io/sameersbn/squid:3.3.8-3
10+
image: sameersbn/squid:3.3.8-3
1111
ports:
1212
- containerPort: 3128
1313
protocol: TCP

0 commit comments

Comments
 (0)