Run update.sh

This commit is contained in:
Docker Library Bot 2020-06-19 20:09:39 +00:00
parent c4448c1bc0
commit c50ae898e0
2 changed files with 22 additions and 3 deletions

View File

@ -28,7 +28,7 @@ WARNING:
- [`8.1`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8.1/Dockerfile) - [`8.1`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8.1/Dockerfile)
- [`8.0`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8.0/Dockerfile) - [`8.0`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8.0/Dockerfile)
- [`8-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8-slim/Dockerfile) - [`8-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/8-slim/Dockerfile)
- [`7.8`, `7`, `latest`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/7.8/Dockerfile) - [`7.8`, `7`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/7.8/Dockerfile)
- [`7-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/7-slim/Dockerfile) - [`7-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/7-slim/Dockerfile)
- [`6.10`, `6`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/6.10/Dockerfile) - [`6.10`, `6`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/6.10/Dockerfile)
- [`6-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/6-slim/Dockerfile) - [`6-slim`](https://github.com/oracle/container-images/blob/616b148f9d90a9b7c8470d666e3f605ef49bc0d2/6-slim/Dockerfile)
@ -62,6 +62,10 @@ Oracle Linux is an open-source operating system available under the GNU General
The Oracle Linux images are intended for use in the **FROM** field of a downstream `Dockerfile`. For example, to use the latest optimized Oracle Linux 7 image, specify `FROM oraclelinux:7-slim`. The Oracle Linux images are intended for use in the **FROM** field of a downstream `Dockerfile`. For example, to use the latest optimized Oracle Linux 7 image, specify `FROM oraclelinux:7-slim`.
## Removal of `latest` tag
The `latest` tag was removed from the Oracle Linux official images in June 2020 to reduce confusion. Downstream images using `oraclelinux:latest` or no tag should be updated to `oraclelinux:7` for future builds. Note that Oracle recommends using the `-slim` variants for the smallest possible image size.
## Official Resources ## Official Resources
- [Learn more about Oracle Linux](https://oracle.com/linux) - [Learn more about Oracle Linux](https://oracle.com/linux)

View File

@ -85,12 +85,27 @@ In [Docker Hub](https://hub.docker.com/), no Docker images of Microsoft SQLServe
$ docker run --name postgresql -d \ $ docker run --name postgresql -d \
-e POSTGRES_PASSWORD="mysecretpassword" \ -e POSTGRES_PASSWORD="mysecretpassword" \
-v postgresql-data:/var/lib/postgresql/data \ -v postgresql-data:/var/lib/postgresql/data \
postgres:9.6 postgres:12.3
``` ```
We recommend strongly to mount the directory with the database file on the host so the data won't be lost when upgrading PostgreSQL to a newer version (a Data Volume Container can be used instead). For any information how to start a PostgreSQL container, you can refer its [documentation](https://hub.docker.com/_/postgres/). We recommend strongly to mount the directory with the database file on the host so the data won't be lost when upgrading PostgreSQL to a newer version (a Data Volume Container can be used instead). For any information how to start a PostgreSQL container, you can refer its [documentation](https://hub.docker.com/_/postgres/).
Once the database system is running, a database for Silverpeas has to be created and a user with administrative rights on this database (and only on this database) should be added; it is recommended for a security reason to create a dedicated user account in the database for each application and therefore for Silverpeas. In this document, and by default, a database `Silverpeas` and a user `silverpeas` for that database are created. Once the database system is running, a database for Silverpeas has to be created and a user with administrative rights on this database (and only on this database) should be added; it is recommended for a security reason to create a dedicated user account in the database for each application and therefore for Silverpeas. In this document, and by default, a database `Silverpeas` and a user `silverpeas` for that database are created. For example:
```console
$ docker exec -it postgresql psql -U postgres
psql (12.3 (Debian 12.3-1.pgdg100+1))
Type "help" for help.
postgres=# create database "Silverpeas";
CREATE DATABASE
postgres=# create user silverpeas with password 'thesilverpeaspassword';
CREATE ROLE
postgres=# grant all privileges on database "Silverpeas" to silverpeas;
GRANT
postgres=# \q
$
```
### Start a Silverpeas instance with the default configuration ### Start a Silverpeas instance with the default configuration