File tree Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 23
23
24
24
- name : " Build runtime mysql-server container"
25
25
label : " :docker: Build runtime container"
26
- command : bash install.sh
26
+ command : " /usr/bin/mysqld -V "
27
27
plugins :
28
28
- ecr#v2.3.0:
29
29
login : true
Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ RUN apt-get update && apt-get upgrade -y
4
4
5
5
ENV DEBIAN_FRONTEND noninteractive
6
6
7
- ADD install.sh /src/install.sh
8
- WORKDIR /src
9
-
10
7
RUN apt-get install -y \
11
8
libaio1 \
12
9
libnuma1 \
13
10
binutils
11
+
12
+ ADD dist/ /dist
13
+
14
+ RUN tar -xzvf /dist/mysql-8.0.28-linux-x86_64.tar.gz -C /usr --strip-components=1 && strip /usr/bin/mysql* || true && rm -rf /dist/*.tar.gz
15
+ RUN apt-get remove -y binutils && apt-get autoremove -y
16
+ RUN rm -rf /usr/mysql-test
Original file line number Diff line number Diff line change @@ -14,5 +14,3 @@ services:
14
14
dockerfile : Dockerfile.release
15
15
environment :
16
16
- BUILDKITE_BRANCH=${BUILDKITE_BRANCH}
17
- volumes :
18
- - " ./dist:/dist"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments