Skip to content

Commit

Permalink
Merge pull request #79 from folarinmartins/readme-fix
Browse files Browse the repository at this point in the history
Improved README.md, added an instruction to clone the repo before following subsequent build instructions
  • Loading branch information
evol262 authored Jun 23, 2022
2 parents b872f96 + ea9ee67 commit 0a40bbc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ and on the Mirantis

## Build and install

To begin following the build process for this code, clone this repository in your local environment:

```shell
git clone https:/Mirantis/cri-dockerd.git
```

The above step creates a local directory called ```cri-dockerd``` which you will need for the following steps.

To build this code (in a POSIX environment):

```shell
mkdir bin
VERSION=$((git describe --abbrev=0 --tags | sed -e 's/v//') || echo $(cat VERSION)-$(git log -1 --pretty='%h')) PRERELEASE=$(grep -q dev <<< "${VERSION}" && echo "pre" || echo "") REVISION=$(git log -1 --pretty='%h')
Expand All @@ -33,6 +42,7 @@ go get && go build ${CRI_DOCKERD_LDFLAGS} -o cri-dockerd
To build for a specific architecture, add `ARCH=` as an argument, where `ARCH` is a known build target for golang

To install, on a Linux system that uses systemd, and already has Docker Engine installed

```shell
# Run these commands as root
###Install GO###
Expand Down

0 comments on commit 0a40bbc

Please sign in to comment.