Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mxssl committed Jan 11, 2023
1 parent d364775 commit 148c0b3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: gomod
directory: '/'
schedule:
interval: "weekly"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM golang:1.18.0-alpine3.15 as builder

ENV GO111MODULE=on
FROM golang:1.19.5-alpine3.17 as builder

WORKDIR /go/src/github.com/mxssl/ntwrk
COPY . .
Expand All @@ -13,12 +11,10 @@ RUN apk add --no-cache \

# Compile binary
RUN CGO_ENABLED=0 \
GOOS=`go env GOHOSTOS` \
GOARCH=`go env GOHOSTARCH` \
go build -v -o ntwrk

# Copy compiled binary to clear Alpine Linux image
FROM alpine:3.15.3
FROM alpine:3.17.1
WORKDIR /
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/src/github.com/mxssl/ntwrk/ntwrk /ntwrk
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ version: '2.4'

services:
ntwrk:
image: mxssl/ntwrk:0.1.2
image: mxssl/ntwrk:0.1.3
env_file: .env
restart: always
# for native mode you need to use host network mode
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mxssl/ntwrk

go 1.18
go 1.19

require (
github.com/joho/godotenv v1.4.0
Expand Down

0 comments on commit 148c0b3

Please sign in to comment.