mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 06:48:04 +08:00
[bitnami/ghost] Release 5.5.0-debian-11-r0 (#933)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -8,11 +8,11 @@ COPY prebuildfs /
|
|||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
# Install required system packages and dependencies
|
# Install required system packages and dependencies
|
||||||
RUN install_packages acl ca-certificates curl gzip jq libaudit1 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libicu67 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncurses6 libncursesw6 libnsl2 libpam0g libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 libxml2 procps tar zlib1g
|
RUN install_packages acl ca-certificates curl gzip jq libaudit1 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libicu67 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncurses6 libncursesw6 libnsl2 libpam0g libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 libxml2 procps tar zlib1g
|
||||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.8.13-155" --checksum 1a516da3a63710021cde67a46cbe350157fde03fe1e0f4f6290e438b55e1a8d1
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.8.13-156" --checksum fc8c6ac004003336b18f369076c354332d6411827bf542d8fc4823f34e073556
|
||||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "node" "14.20.0-1" --checksum 1308eadfadd439cc82f4ca51185828f49cac7b38fcafd783e24f52c7c2768b4b
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "node" "14.20.0-1" --checksum 1308eadfadd439cc82f4ca51185828f49cac7b38fcafd783e24f52c7c2768b4b
|
||||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.6.8-151" --checksum c85e4be9bcee70c86c7bc7e13742e2d97810ad8f7d6154f8b66811b6cc4d0948
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.6.8-151" --checksum c85e4be9bcee70c86c7bc7e13742e2d97810ad8f7d6154f8b66811b6cc4d0948
|
||||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
||||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ghost" "5.4.1-0" --checksum c145aa26f83e5bc00958ad04f333540b2eae2305727a7349df30e43da2bc90fe
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ghost" "5.5.0-0" --checksum 10f0822fcae75e25d6ab5cba98f813506d86fdef89150220720065cd94c81236
|
||||||
RUN apt-get update && apt-get upgrade -y && \
|
RUN apt-get update && apt-get upgrade -y && \
|
||||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||||
RUN chmod g+rwX /opt/bitnami
|
RUN chmod g+rwX /opt/bitnami
|
||||||
@@ -20,7 +20,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
RUN /opt/bitnami/scripts/ghost/postunpack.sh
|
RUN /opt/bitnami/scripts/ghost/postunpack.sh
|
||||||
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
||||||
ENV APP_VERSION="5.4.1" \
|
ENV APP_VERSION="5.5.0" \
|
||||||
BITNAMI_APP_NAME="ghost" \
|
BITNAMI_APP_NAME="ghost" \
|
||||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:/opt/bitnami/ghost/bin:$PATH"
|
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:/opt/bitnami/ghost/bin:$PATH"
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"ghost": {
|
"ghost": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"digest": "c145aa26f83e5bc00958ad04f333540b2eae2305727a7349df30e43da2bc90fe",
|
"digest": "10f0822fcae75e25d6ab5cba98f813506d86fdef89150220720065cd94c81236",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "5.4.1-0"
|
"version": "5.5.0-0"
|
||||||
},
|
},
|
||||||
"gosu": {
|
"gosu": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
@@ -29,9 +29,9 @@
|
|||||||
},
|
},
|
||||||
"python": {
|
"python": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"digest": "1a516da3a63710021cde67a46cbe350157fde03fe1e0f4f6290e438b55e1a8d1",
|
"digest": "fc8c6ac004003336b18f369076c354332d6411827bf542d8fc4823f34e073556",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "3.8.13-155"
|
"version": "3.8.13-156"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
|
|||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-ghost/master/docker-compose.yml > docker-compose.yml
|
$ curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/ghost/docker-compose.yml > docker-compose.yml
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -41,10 +41,10 @@ Non-root container images add an extra layer of security and are generally recom
|
|||||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||||
|
|
||||||
|
|
||||||
- [`5`, `5-debian-11`, `5.4.1`, `5.4.1-debian-11-r5`, `latest` (5/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-ghost/blob/5.4.1-debian-11-r5/5/debian-11/Dockerfile)
|
- [`5`, `5-debian-11`, `5.5.0`, `5.5.0-debian-11-r0`, `latest` (5/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/5/debian-11/Dockerfile)
|
||||||
- [`4`, `4-debian-11`, `4.48.2`, `4.48.2-debian-11-r13` (4/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-ghost/blob/4.48.2-debian-11-r13/4/debian-11/Dockerfile)
|
- [`4`, `4-debian-11`, `4.48.2`, `4.48.2-debian-11-r13` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/4/debian-11/Dockerfile)
|
||||||
|
|
||||||
Subscribe to project updates by watching the [bitnami/ghost GitHub repo](https://github.com/bitnami/bitnami-docker-ghost).
|
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
|
||||||
|
|
||||||
## Get this image
|
## Get this image
|
||||||
|
|
||||||
@@ -60,22 +60,24 @@ To use a specific version, you can pull a versioned tag. You can view the [list
|
|||||||
$ docker pull bitnami/ghost:[TAG]
|
$ docker pull bitnami/ghost:[TAG]
|
||||||
```
|
```
|
||||||
|
|
||||||
If you wish, you can also build the image yourself.
|
If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the `docker build` command. Remember to replace the `APP`, `VERSION` and `OPERATING-SYSTEM` path placeholders in the example command below with the correct values.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker build -t bitnami/ghost:latest 'https://github.com/bitnami/bitnami-docker-ghost.git#master:5/debian-11'
|
$ git clone https://github.com/bitnami/containers.git
|
||||||
|
$ cd bitnami/APP/VERSION/OPERATING-SYSTEM
|
||||||
|
$ docker build -t bitnami/APP:latest .
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to use this image
|
## How to use this image
|
||||||
|
|
||||||
Ghost requires access to a MySQL or MariaDB database to store information. We'll use the [Bitnami Docker Image for MySQL](https://www.github.com/bitnami/bitnami-docker-mysql) for the database requirements.
|
Ghost requires access to a MySQL or MariaDB database to store information. We'll use the [Bitnami Docker Image for MySQL](https://github.com/bitnami/containers/tree/main/bitnami/mysql) for the database requirements.
|
||||||
|
|
||||||
### Run the application using Docker Compose
|
### Run the application using Docker Compose
|
||||||
|
|
||||||
The main folder of this repository contains a functional [`docker-compose.yml`](https://github.com/bitnami/bitnami-docker-ghost/blob/master/docker-compose.yml) file. Run the application using it as shown below:
|
The main folder of this repository contains a functional [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ghost/docker-compose.yml) file. Run the application using it as shown below:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-ghost/master/docker-compose.yml > docker-compose.yml
|
$ curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/ghost/docker-compose.yml > docker-compose.yml
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -124,7 +126,7 @@ Access your application at `http://your-ip/`
|
|||||||
|
|
||||||
If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
|
If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
|
||||||
|
|
||||||
For persistence you should mount a directory at the `/bitnami/ghost` path. If the mounted directory is empty, it will be initialized on the first run. Additionally you should [mount a volume for persistence of the MySQL data](https://github.com/bitnami/bitnami-docker-mysql#persisting-your-database).
|
For persistence you should mount a directory at the `/bitnami/ghost` path. If the mounted directory is empty, it will be initialized on the first run. Additionally you should [mount a volume for persistence of the MySQL data](https://github.com/bitnami/containers/blob/main/bitnami/mysql#persisting-your-database).
|
||||||
|
|
||||||
The above examples define the Docker volumes named `mysql_data` and `ghost_data`. The Ghost application state will persist as long as volumes are not removed.
|
The above examples define the Docker volumes named `mysql_data` and `ghost_data`. The Ghost application state will persist as long as volumes are not removed.
|
||||||
|
|
||||||
@@ -132,7 +134,7 @@ To avoid inadvertent removal of volumes, you can [mount host directories as data
|
|||||||
|
|
||||||
### Mount host directories as data volumes with Docker Compose
|
### Mount host directories as data volumes with Docker Compose
|
||||||
|
|
||||||
This requires a minor change to the [`docker-compose.yml`](https://github.com/bitnami/bitnami-docker-ghost/blob/master/docker-compose.yml) file present in this repository:
|
This requires a minor change to the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ghost/docker-compose.yml) file present in this repository:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
mysql:
|
mysql:
|
||||||
@@ -197,7 +199,7 @@ $ docker run -d --name ghost \
|
|||||||
|
|
||||||
When you start the Ghost image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable:
|
When you start the Ghost image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable:
|
||||||
|
|
||||||
- For docker-compose add the variable name and value under the application section in the [`docker-compose.yml`](https://github.com/bitnami/bitnami-docker-ghost/blob/master/docker-compose.yml) file present in this repository:
|
- For docker-compose add the variable name and value under the application section in the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ghost/docker-compose.yml) file present in this repository:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ghost:
|
ghost:
|
||||||
@@ -274,7 +276,7 @@ To configure Ghost to send email using SMTP you can set the following environmen
|
|||||||
|
|
||||||
This would be an example of SMTP configuration using a Gmail account:
|
This would be an example of SMTP configuration using a Gmail account:
|
||||||
|
|
||||||
- Modify the [`docker-compose.yml`](https://github.com/bitnami/bitnami-docker-ghost/blob/master/docker-compose.yml) file present in this repository:
|
- Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ghost/docker-compose.yml) file present in this repository:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ghost:
|
ghost:
|
||||||
@@ -311,7 +313,7 @@ This would be an example of SMTP configuration using a Gmail account:
|
|||||||
|
|
||||||
The Bitnami Ghost container supports connecting the Ghost application to an external database. This would be an example of using an external database for Ghost.
|
The Bitnami Ghost container supports connecting the Ghost application to an external database. This would be an example of using an external database for Ghost.
|
||||||
|
|
||||||
- Modify the [`docker-compose.yml`](https://github.com/bitnami/bitnami-docker-ghost/blob/master/docker-compose.yml) file present in this repository:
|
- Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ghost/docker-compose.yml) file present in this repository:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
ghost:
|
ghost:
|
||||||
@@ -413,7 +415,7 @@ For the Ghost container:
|
|||||||
|
|
||||||
### Upgrade this image
|
### Upgrade this image
|
||||||
|
|
||||||
Bitnami provides up-to-date versions of MySQL and Ghost, including security patches, soon after they are made upstream. We recommend that you follow these steps to upgrade your container. We will cover here the upgrade of the Ghost container. For the MySQL upgrade see: https://github.com/bitnami/bitnami-docker-mysql/blob/master/README.md#upgrade-this-image
|
Bitnami provides up-to-date versions of MySQL and Ghost, including security patches, soon after they are made upstream. We recommend that you follow these steps to upgrade your container. We will cover here the upgrade of the Ghost container. For the MySQL upgrade see: https://github.com/bitnami/containers/blob/main/bitnami/mysql/blob/master/README.md#upgrade-this-image
|
||||||
|
|
||||||
The `bitnami/ghost:latest` tag always points to the most recent release. To get the most recent release you can simple repull the `latest` tag from the Docker Hub with `docker pull bitnami/ghost:latest`. However it is recommended to use [tagged versions](https://hub.docker.com/r/bitnami/ghost/tags/).
|
The `bitnami/ghost:latest` tag always points to the most recent release. To get the most recent release you can simple repull the `latest` tag from the Docker Hub with `docker pull bitnami/ghost:latest`. However it is recommended to use [tagged versions](https://hub.docker.com/r/bitnami/ghost/tags/).
|
||||||
|
|
||||||
@@ -525,17 +527,11 @@ Finally, build the container and set the required environment variables to confi
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-ghost/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-ghost/pulls) with your contribution.
|
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
|
||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/bitnami-docker-ghost/issues/new). Be sure to include the following information in your issue:
|
If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new/choose). For us to provide better support, be sure to fill the issue template.
|
||||||
|
|
||||||
- Host OS and version
|
|
||||||
- Docker version (`docker version`)
|
|
||||||
- Output of `docker info`
|
|
||||||
- Version of this container
|
|
||||||
- The command you used to run the container, and any relevant output you saw (masking any sensitive information)
|
|
||||||
|
|
||||||
### Community supported solution
|
### Community supported solution
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user