You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_cci2/building-docker-images.md
+15-18Lines changed: 15 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -67,38 +67,35 @@ jobs:
67
67
The example below shows how you can build and push a Docker image for our [demo docker project](https://github.com/CircleCI-Public/circleci-demo-docker):
If the primary container you are using doesn't already have the docker CLI installed, then [you will need to install it](https://docs.docker.com/install/#supported-platforms) somehow.
91
+
92
+
```yaml
93
+
# Install via apk on alpine based images
94
+
- run:
95
+
name: Install Docker client
96
+
command: apk add docker-cli
97
+
```
98
+
102
99
Let’s break down what’s happening during this build’s execution:
103
100
104
101
1. All commands are executed in the [primary-container]({{ site.baseurl }}/2.0/glossary/#primary-container).
@@ -223,7 +220,7 @@ Then, the sample CircleCI `.circleci/config.yml` snippets below populate and bac
0 commit comments