Makefile & Dockerfile: update docker mirror & file name
This commit is contained in:
parent
005ac9c60c
commit
cfbad73d1e
3 changed files with 5 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -22,4 +22,4 @@
|
||||||
go.work
|
go.work
|
||||||
|
|
||||||
data.csv
|
data.csv
|
||||||
country_geo_locations
|
country-geo-locations
|
||||||
|
|
|
@ -20,6 +20,6 @@ FROM alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy built binary from build image
|
# Copy built binary from build image
|
||||||
COPY --from=build /workspace/country_geo_locations /app
|
COPY --from=build /workspace/country-geo-locations /app
|
||||||
|
|
||||||
ENTRYPOINT ["/app/country_geo_locations"]
|
ENTRYPOINT ["/app/country-geo-locations"]
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -2,10 +2,10 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
CGO_ENABLED=0 go build \
|
CGO_ENABLED=0 go build \
|
||||||
-o country_geo_locations \
|
-o country-geo-locations \
|
||||||
main.go
|
main.go
|
||||||
|
|
||||||
# Build project docker container
|
# Build project docker container
|
||||||
.PHONY: build/docker
|
.PHONY: build/docker
|
||||||
build/docker:
|
build/docker:
|
||||||
docker build -t registry.neuber.io/country-geo-locations .
|
docker build -t git.ar21.de/yolokube/country-geo-locations .
|
||||||
|
|
Loading…
Reference in a new issue