This website works better with JavaScript.
Home
Explore
Help
Sign In
amy
/
silicondawn
Watch
1
Star
0
Fork
0
Code
Pull Requests
0
Releases
0
Activity
Browse Source
Bring makefiles into this
also have dockerfiles not re-dep
pull/1/head
Amelia A
8 months ago
parent
16455d6051
commit
2fdbcbf8c8
Signed by:
amy
GPG Key ID:
98E879BC3B6E1BF8
4 changed files
with
32 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
.gitignore
+0
-1
Dockerfile
+31
-0
Makefile
+0
-1
localcards.dockerfile
+ 1
- 0
.gitignore
View File
@ -1,2 +1,3 @@
bin/
data/
*.zip
+ 0
- 1
Dockerfile
View File
@ -3,7 +3,6 @@ FROM golang:1.14 as builder
WORKDIR
/go/src/app
COPY
. .
RUN
go get -d -v ./...
ARG
CGO_ENABLED
=
0
RUN
go install -v ./...
+ 31
- 0
Makefile
View File
@ -0,0 +1,31 @@
IMAGE
=
skwrl/silicon-dawn:latest
BIN
=
./bin/silicon-dawn
all
:
update
test
docker
-
run
update
:
go get -u ./...
go mod tidy
go vendor
test
:
go
test
./...
build
:
docker build -f localcards.dockerfile -t
$(
IMAGE
)
.
run
:
docker
-
build
docker run -p 8080:3200 --name Make-Dawn
$(
IMAGE
)
push
:
docker push
$(
IMAGE
)
local-build
:
$(
BIN
)
go build -v -o
$(
BIN
)
local
:
local
-
build
$(
BIN
)
serve
download
:
local
-
build
$(
BIN
)
get
+ 0
- 1
localcards.dockerfile
View File
@ -3,7 +3,6 @@ FROM golang:1.14 as builder
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
ARG CGO_ENABLED=0
RUN go install -v ./...
Write
Preview
Loading…
Cancel
Save