Skip to content

Conversation

honst
Copy link
Contributor

@honst honst commented Mar 16, 2018

解决找不到mysqldump

解决找不到mysqldump
COPY . /go/src/github.com/siddontang/go-mysql-elasticsearch

RUN cd /go/src/github.com/siddontang/go-mysql-elasticsearch/ && \
RUN apk add --no-cache mariadb-client && \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use another RUN for apk especially?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.
I thought the mysqldump is required by go-mysql-elasticsearch, so made them into one layer.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly, installing pkg should be separated from others. It is cache friendly for docker.

@siddontang
Copy link
Collaborator

Rest LGTM

@siddontang siddontang closed this Apr 3, 2018
@siddontang
Copy link
Collaborator

already included, close now.

Thanks @honst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants