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
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+27-7Lines changed: 27 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,31 @@
8
8
9
9
#### 1.1 Linux
10
10
11
-
[Follow the instructions here](http://docs.docker.io/installation/)
11
+
[Follow the instructions here to install Docker](http://docs.docker.io/installation/)
12
+
[Follow the instructions here to install Go if necessary](https://go.dev/doc/install)
12
13
13
14
#### 1.2 OS X
14
15
15
-
Follow [this page](https://docs.docker.com/engine/installation/mac/) to install Docker for mac.
16
+
[Follow the instructions here to install Docker](https://docs.docker.com/engine/installation/mac/) to install Docker for Mac.
16
17
17
-
You can now run docker commands locally on your mac.
18
+
If you need to install `go`on your Mac, best install it through Homebrew:
18
19
19
-
#### 1.3 Install pre-requisite tools and dependencies
20
+
```
21
+
brew install go
22
+
go version
23
+
```
24
+
Please note that in newer installations of Go, `GOPATH` is assumed at your $HOME/go. For this repository to build however, you'll still need to explicitly set the GOPATH variable to run `make`.
25
+
26
+
```
27
+
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
28
+
source ~/.bash_profile
29
+
```
30
+
31
+
#### 1.3 Install work
32
+
33
+
Follow the [README](https://github.com/basecamp/work#first-time-setup) in order to install `work`.
34
+
35
+
#### 1.4 Install pre-requisite tools and dependencies
20
36
21
37
$ make setup
22
38
$ make deps
@@ -25,8 +41,7 @@ You can now run docker commands locally on your mac.
@@ -68,10 +83,15 @@ See the Makefile for more functions.
68
83
69
84
Make sure you ran ````export DOCKER_HOST=tcp://localhost:4243```` in the terminal you are trying to use docker/build_ruby from
70
85
86
+
## Errors while running `make`
87
+
88
+
This repository collects its internal dependencies in `Goopfile.lock`. If you run into issues while running `make`, try upgrading a problematic package to a newer commit SHA. So far, that has helped solve cryptic nested dependency issues.
89
+
71
90
## Todo
72
91
73
92
* Test that a package test is actually created, perhaps requiring Docker to be running
74
93
* Support Other Linux distros/package types
94
+
* Migrate out of `goop` dependency management
75
95
76
96
## How to contribute
77
97
@@ -98,7 +118,7 @@ Take a look at the TODO list or known issues for some inspiration if you need it
98
118
*[The Docker API docs](http://docs.docker.io/reference/api/docker_remote_api_v1.10/)
0 commit comments