Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from source needs to be dockumented (sic). #43

Open
rwmacleod opened this issue May 16, 2022 · 1 comment
Open

Install from source needs to be dockumented (sic). #43

rwmacleod opened this issue May 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rwmacleod
Copy link

Description

The Linux install instructions suggest downloading a pre-compile binary. That's not a typical workflow for open source.
I was able to build using the Docker env required by the Makefile but I don't see an executable.
Can you document how to get the executable out of docker and onto the user's desktop?

Steps to reproduce

$ make

Logs/Screenshots

make
docker build -f docker/Dockerfile -t mattgleich/fgh:latest .
Sending build context to Docker daemon 1.142MB
Step 1/11 : FROM golang:1.15-alpine3.12 AS builder
---> a960d7a304de
Step 2/11 : LABEL maintainer="email@mattglei.ch"
---> Using cache
---> cb746d5df049
Step 3/11 : LABEL description="📁 Automate the organization of your cloned GitHub repositories"
---> Using cache
---> f1f0a6419aac
Step 4/11 : COPY . /usr/src/app
---> 677dfc850a1f
Step 5/11 : WORKDIR /usr/src/app
---> Running in 7bfb70d2cc23
Removing intermediate container 7bfb70d2cc23
---> 3ca98f41aaf5
Step 6/11 : RUN go get -v -t -d ./...
---> Running in 826d3fa542f2
go: downloading github.com/jedib0t/go-pretty/v6 v6.2.4
go: downloading github.com/briandowns/spinner v1.16.0
go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
go: downloading github.com/gleich/statuser/v2 v2.5.0
go: downloading golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1
go: downloading github.com/shurcooL/githubv4 v0.0.0-20210922025249-6831e00d857f
go: downloading github.com/go-git/go-git/v5 v5.4.2
go: downloading github.com/atotto/clipboard v0.1.4
go: downloading github.com/hepsiburada/time-formatter v1.0.3
go: downloading github.com/fatih/color v1.13.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading github.com/spf13/cobra v1.2.1
go: downloading github.com/enescakir/emoji v1.0.0
go: downloading github.com/gleich/release v0.0.0-20210604035540-68b9816a6144
go: downloading github.com/stretchr/testify v1.7.0
go: downloading gopkg.in/djherbis/times.v1 v1.3.0
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/AlecAivazis/survey/v2 v2.3.2
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/mattn/go-colorable v0.1.11
go: downloading github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a
go: downloading golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading golang.org/x/net v0.0.0-20211020060615-d418f374d309
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/imdario/mergo v0.3.12
go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
go: downloading github.com/sergi/go-diff v1.2.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/ProtonMail/go-crypto v0.0.0-20210920160938-87db9fbc61c7
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/go-git/go-billy/v5 v5.3.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/acomagu/bufpipe v1.0.3
go: downloading github.com/kevinburke/ssh_config v1.1.0
go: downloading github.com/go-git/gcfg v1.5.0
go: downloading github.com/emirpasic/gods v1.12.0
go: downloading github.com/xanzy/ssh-agent v0.3.1
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading google.golang.org/protobuf v1.27.1
go: downloading github.com/Microsoft/go-winio v0.5.1
go: downloading gopkg.in/warnings.v0 v0.1.2
Removing intermediate container 826d3fa542f2
---> 35b7791c8779
Step 7/11 : RUN go build -o app .
---> Running in 9876dba5efa2
Removing intermediate container 9876dba5efa2
---> f8b6a596e7a5
Step 8/11 : FROM alpine:latest
---> c059bfaa849c
Step 9/11 : WORKDIR /
---> Using cache
---> 269f6c161154
Step 10/11 : COPY --from=builder /usr/src/app/app .
---> Using cache
---> 09cdc331bb57
Step 11/11 : CMD ["./app"]
---> Using cache
---> 4bbc484150f1
Successfully built 4bbc484150f1
Successfully tagged mattgleich/fgh:latest

$ find . -name fgh
$

@rwmacleod rwmacleod added the bug Something isn't working label May 16, 2022
@rwmacleod
Copy link
Author

Is this just obvious to people who are familiar with using docker to build rather than building on the host ?

@gleich gleich self-assigned this Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants