Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit c3a09b7

Browse files
authored
Merge pull request #190 from jdeathe/centos-7-mysql57-community-develop
Release changes for 2.1.0
2 parents b45084f + aa9943e commit c3a09b7

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
Summary of release changes for Version 2.
66

7-
CentOS-7 7.4.1708 x86_64 - MySQL 5.7 Community Server.
7+
CentOS-7 7.5.1804 x86_64 - MySQL 5.7 Community Server.
8+
9+
### 2.1.0 - 2018-08-23
10+
11+
- Updates source image to [2.4.0](https://github.com/jdeathe/centos-ssh/releases/tag/2.4.0).
812

913
### 2.0.0 - 2018-08-07
1014

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# CentOS-7, MySQL 5.7 Community Server
55
#
66
# =============================================================================
7-
FROM jdeathe/centos-ssh:2.3.2
7+
FROM jdeathe/centos-ssh:2.4.0
88

99
# -----------------------------------------------------------------------------
1010
# Install MySQL
@@ -83,7 +83,7 @@ ENV MYSQL_AUTOSTART_MYSQLD_BOOTSTRAP=true \
8383
# -----------------------------------------------------------------------------
8484
# Set image metadata
8585
# -----------------------------------------------------------------------------
86-
ARG RELEASE_VERSION="2.0.0"
86+
ARG RELEASE_VERSION="2.1.0"
8787
LABEL \
8888
maintainer="James Deathe <james.deathe@gmail.com>" \
8989
install="docker run \
@@ -112,7 +112,7 @@ jdeathe/centos-ssh-mysql:${RELEASE_VERSION} \
112112
org.deathe.license="MIT" \
113113
org.deathe.vendor="jdeathe" \
114114
org.deathe.url="https://github.com/jdeathe/centos-ssh-mysql" \
115-
org.deathe.description="CentOS-7 7.4.1708 x86_64 - MySQL 5.7 Community Server."
115+
org.deathe.description="CentOS-7 7.5.1804 x86_64 - MySQL 5.7 Community Server."
116116

117117
HEALTHCHECK \
118118
--interval=1s \

README-short.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CentOS-7 7.4.1708 x86_64 - MySQL Community Server.
1+
CentOS-7 7.5.1804 x86_64 - MySQL Community Server.

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ centos-ssh-mysql
22
================
33

44
Docker Image including:
5-
- CentOS-6 6.9 x86_64, MySQL 5.1.
6-
- CentOS-7 7.4.1708 x86_64, MySQL 5.7 Community Server.
5+
- CentOS-6 6.10 x86_64, MySQL 5.1.
6+
- CentOS-7 7.5.1804 x86_64, MySQL 5.7 Community Server.
77

88
Includes Automated password generation and an option for custom initialisation SQL. Supports custom configuration via environment variables.
99

1010
## Overview & links
1111

12-
The latest CentOS-7 based release can be pulled from the `centos-7-mysql57-community` Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-mysql57-community-2.0.0` or `2.0.0` for the [2.0.0](https://github.com/jdeathe/centos-ssh-mysql/tree/2.0.0) release tag.
12+
The latest CentOS-7 based release can be pulled from the `centos-7-mysql57-community` Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-mysql57-community-2.1.0` or `2.1.0` for the [2.1.0](https://github.com/jdeathe/centos-ssh-mysql/tree/2.1.0) release tag.
1313

1414
### Tags and respective `Dockerfile` links
1515

16-
- `centos-7-mysql57-community`, `centos-7-mysql57-community-2.0.0`, `2.0.0` [(centos-7-mysql57-community/Dockerfile)](https://github.com/jdeathe/centos-ssh-mysql/blob/centos-7-mysql57-community/Dockerfile)
17-
- `centos-6`, `centos-6-1.8.5`, `1.8.5` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-mysql/blob/centos-6/Dockerfile)
16+
- `centos-7-mysql57-community`, `centos-7-mysql57-community-2.1.0`, `2.1.0` [(centos-7-mysql57-community/Dockerfile)](https://github.com/jdeathe/centos-ssh-mysql/blob/centos-7-mysql57-community/Dockerfile)
17+
- `centos-6`, `centos-6-1.9.0`, `1.9.0` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-mysql/blob/centos-6/Dockerfile)
1818

1919
The Dockerfile can be used to build a base image that is the bases for several other docker images.
2020

@@ -43,7 +43,7 @@ $ docker run -d \
4343
--name mysql.pool-1.1.1 \
4444
-p 3306:3306 \
4545
-v /var/lib/mysql \
46-
jdeathe/centos-ssh-mysql:2.0.0
46+
jdeathe/centos-ssh-mysql:2.1.0
4747
```
4848

4949
Now you can verify it is initialised and running successfully by inspecting the container's logs.
@@ -114,10 +114,10 @@ $ docker run \
114114
--rm \
115115
--privileged \
116116
--volume /:/media/root \
117-
jdeathe/centos-ssh-mysql:2.0.0 \
117+
jdeathe/centos-ssh-mysql:2.1.0 \
118118
/usr/sbin/scmi install \
119119
--chroot=/media/root \
120-
--tag=2.0.0 \
120+
--tag=2.1.0 \
121121
--name=mysql.pool-1.1.1 \
122122
--setopt='--volume {{NAME}}.data-mysql:/var/lib/mysql'
123123
```
@@ -131,10 +131,10 @@ $ docker run \
131131
--rm \
132132
--privileged \
133133
--volume /:/media/root \
134-
jdeathe/centos-ssh-mysql:2.0.0 \
134+
jdeathe/centos-ssh-mysql:2.1.0 \
135135
/usr/sbin/scmi uninstall \
136136
--chroot=/media/root \
137-
--tag=2.0.0 \
137+
--tag=2.1.0 \
138138
--name=mysql.pool-1.1.1 \
139139
--setopt='--volume {{NAME}}.data-mysql:/var/lib/mysql'
140140
```
@@ -148,10 +148,10 @@ $ docker run \
148148
--rm \
149149
--privileged \
150150
--volume /:/media/root \
151-
jdeathe/centos-ssh-mysql:2.0.0 \
151+
jdeathe/centos-ssh-mysql:2.1.0 \
152152
/usr/sbin/scmi install \
153153
--chroot=/media/root \
154-
--tag=2.0.0 \
154+
--tag=2.1.0 \
155155
--name=mysql.pool-1.1.1 \
156156
--manager=systemd \
157157
--register \
@@ -178,7 +178,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
178178
$ eval "sudo -E $(
179179
docker inspect \
180180
-f "{{.ContainerConfig.Labels.install}}" \
181-
jdeathe/centos-ssh-mysql:2.0.0
181+
jdeathe/centos-ssh-mysql:2.1.0
182182
) --info"
183183
```
184184

@@ -188,7 +188,7 @@ To perform an installation using the docker name `mysql.pool-1.2.1` simply use t
188188
$ eval "sudo -E $(
189189
docker inspect \
190190
-f "{{.ContainerConfig.Labels.install}}" \
191-
jdeathe/centos-ssh-mysql:2.0.0
191+
jdeathe/centos-ssh-mysql:2.1.0
192192
) --name=mysql.pool-1.2.1"
193193
```
194194

@@ -198,7 +198,7 @@ To uninstall use the *same command* that was used to install but with the `unins
198198
$ eval "sudo -E $(
199199
docker inspect \
200200
-f "{{.ContainerConfig.Labels.uninstall}}" \
201-
jdeathe/centos-ssh-mysql:2.0.0
201+
jdeathe/centos-ssh-mysql:2.1.0
202202
) --name=mysql.pool-1.2.1"
203203
```
204204

@@ -211,7 +211,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
211211
```
212212
$ sudo -E atomic install \
213213
-n mysql.pool-1.3.1 \
214-
jdeathe/centos-ssh-mysql:2.0.0 \
214+
jdeathe/centos-ssh-mysql:2.1.0 \
215215
--info
216216
```
217217

@@ -220,14 +220,14 @@ To perform an installation using the docker name `mysql.pool-1.3.1` simply use t
220220
```
221221
$ sudo -E atomic install \
222222
-n mysql.pool-1.3.1 \
223-
jdeathe/centos-ssh-mysql:2.0.0
223+
jdeathe/centos-ssh-mysql:2.1.0
224224
```
225225

226226
Alternatively, you could use the `scmi` options `--name` or `-n` for naming the container.
227227

228228
```
229229
$ sudo -E atomic install \
230-
jdeathe/centos-ssh-mysql:2.0.0 \
230+
jdeathe/centos-ssh-mysql:2.1.0 \
231231
--name mysql.pool-1.3.1
232232
```
233233

@@ -236,7 +236,7 @@ To uninstall use the *same command* that was used to install but with the `unins
236236
```
237237
$ sudo -E atomic uninstall \
238238
-n mysql.pool-1.3.1 \
239-
jdeathe/centos-ssh-mysql:2.0.0
239+
jdeathe/centos-ssh-mysql:2.1.0
240240
```
241241

242242
#### Using environment variables
@@ -255,7 +255,7 @@ $ docker run \
255255
--env "MYSQL_USER_PASSWORD=" \
256256
--env "MYSQL_USER_DATABASE=app-db" \
257257
--volume mysql.pool-1.1.1.data-mysql:/var/lib/mysql \
258-
jdeathe/centos-ssh-mysql:2.0.0
258+
jdeathe/centos-ssh-mysql:2.1.0
259259
```
260260

261261
The environmental variable `MYSQL_SUBNET` is optional but can be used to generate users with access to databases outside the `localhost`, (the default for the root user). In the example, the subnet definition `0.0.0.0/0.0.0.0` allows connections from any network which is equivalent to the wildcard symbol, `%`, in MySQL GRANT definitions.

src/etc/systemd/system/centos-ssh-mysql@.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Environment="DOCKER_USER=jdeathe"
5252
Environment="DOCKER_IMAGE_NAME=centos-ssh-mysql"
5353
Environment="DOCKER_CONTAINER_OPTS="
5454
Environment="DOCKER_IMAGE_PACKAGE_PATH=/var/opt/scmi/packages"
55-
Environment="DOCKER_IMAGE_TAG=2.0.0"
55+
Environment="DOCKER_IMAGE_TAG=2.1.0"
5656
Environment="DOCKER_PORT_MAP_TCP_3306=3306"
5757
Environment="MYSQL_AUTOSTART_MYSQLD_BOOTSTRAP=true"
5858
Environment="MYSQL_AUTOSTART_MYSQLD_WRAPPER=true"

0 commit comments

Comments
 (0)