Skip to content

Commit 44b197a

Browse files
authored
Merge pull request DSpace#2394 from tdonohue/docker_version_fixes
Replace all old docker "dspace-7_x" tags with "latest" on main
2 parents db6edbf + 08ae7bf commit 44b197a

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

Dockerfile.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
33

44
# Test build:
5-
# docker build -f Dockerfile.dist -t dspace/dspace-angular:dspace-7_x-dist .
5+
# docker build -f Dockerfile.dist -t dspace/dspace-angular:latest-dist .
66

77
FROM node:18-alpine as build
88

docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ the Docker compose scripts in this 'docker' folder.
2323
This Dockerfile is used to build a *development* DSpace 7 Angular UI image, published as 'dspace/dspace-angular'
2424

2525
```
26-
docker build -t dspace/dspace-angular:dspace-7_x .
26+
docker build -t dspace/dspace-angular:latest .
2727
```
2828

2929
This image is built *automatically* after each commit is made to the `main` branch.
3030

3131
Admins to our DockerHub repo can manually publish with the following command.
3232
```
33-
docker push dspace/dspace-angular:dspace-7_x
33+
docker push dspace/dspace-angular:latest
3434
```
3535

3636
### Dockerfile.dist
@@ -39,7 +39,7 @@ The `Dockerfile.dist` is used to generate a *production* build and runtime envir
3939

4040
```bash
4141
# build the latest image
42-
docker build -f Dockerfile.dist -t dspace/dspace-angular:dspace-7_x-dist .
42+
docker build -f Dockerfile.dist -t dspace/dspace-angular:latest-dist .
4343
```
4444

4545
A default/demo version of this image is built *automatically*.

docker/cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ version: "3.7"
1616

1717
services:
1818
dspace-cli:
19-
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-dspace-7_x}"
19+
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-latest}"
2020
container_name: dspace-cli
2121
environment:
2222
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.

docker/docker-compose-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
solr__D__statistics__P__autoCommit: 'false'
3636
depends_on:
3737
- dspacedb
38-
image: dspace/dspace:dspace-7_x-test
38+
image: dspace/dspace:latest-test
3939
networks:
4040
dspacenet:
4141
ports:

docker/docker-compose-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
DSPACE_REST_HOST: api7.dspace.org
2828
DSPACE_REST_PORT: 443
2929
DSPACE_REST_NAMESPACE: /server
30-
image: dspace/dspace-angular:dspace-7_x-dist
30+
image: dspace/dspace-angular:${DSPACE_VER:-latest}-dist
3131
build:
3232
context: ..
3333
dockerfile: Dockerfile.dist

docker/docker-compose-rest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
# proxies.trusted.ipranges: This setting is required for a REST API running in Docker to trust requests
4040
# from the host machine. This IP range MUST correspond to the 'dspacenet' subnet defined above.
4141
proxies__P__trusted__P__ipranges: '172.23.0'
42-
image: "${DOCKER_OWNER:-dspace}/dspace:${DSPACE_VER:-dspace-7_x-test}"
42+
image: "${DOCKER_OWNER:-dspace}/dspace:${DSPACE_VER:-latest-test}"
4343
depends_on:
4444
- dspacedb
4545
networks:
@@ -82,7 +82,7 @@ services:
8282
# DSpace Solr container
8383
dspacesolr:
8484
container_name: dspacesolr
85-
image: "${DOCKER_OWNER:-dspace}/dspace-solr:${DSPACE_VER:-dspace-7_x}"
85+
image: "${DOCKER_OWNER:-dspace}/dspace-solr:${DSPACE_VER:-latest}"
8686
# Needs main 'dspace' container to start first to guarantee access to solr_configs
8787
depends_on:
8888
- dspace

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
DSPACE_REST_HOST: localhost
2525
DSPACE_REST_PORT: 8080
2626
DSPACE_REST_NAMESPACE: /server
27-
image: dspace/dspace-angular:dspace-7_x
27+
image: dspace/dspace-angular:${DSPACE_VER:-latest}
2828
build:
2929
context: ..
3030
dockerfile: Dockerfile

0 commit comments

Comments
 (0)