diff --git a/Dockerfile b/Dockerfile index acf9fed..2bf5ef1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM golang:1.19 +FROM golang:1.22.5 WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY *.go ./ -RUN CGO_ENABLED=0 GOOS=linux go build -o /docker-modem-test main.go \ No newline at end of file +RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test main.go + +CMD ["/modem-test"] \ No newline at end of file diff --git a/Makefile b/Makefile index 1e0228d..05e3a6a 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ build: #run: build # @./out/annalist.exe -linux: - @$Env:GOOS="linux"; $Env:GOARCH="arm"; $Env:GOARM=5 +#linux: +# @$Env:GOOS="linux"; $Env:GOARCH="arm"; $Env:GOARM=5 # .profile # cgo_enabled 0 \ No newline at end of file