diff --git a/Dockerfile b/Dockerfile index b7005eb..c8d8216 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################ # STEP 1 build executable binary ############################ -FROM golang:1.16-alpine AS builder +FROM golang:1.23-alpine AS builder LABEL BUILD="docker build -t insomniacslk/irc-slack -f Dockerfile ." LABEL RUN="docker run --rm -p 6666:6666 -it insomniacslk/irc-slack" diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8abad12 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + irc-slack: + build: + context: . + dockerfile: Dockerfile + ports: + - 6666:6666 diff --git a/go.mod b/go.mod index 3c2f181..44ab7df 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/insomniacslk/irc-slack +go 1.23 + require ( github.com/chromedp/cdproto v0.0.0-20241022234722-4d5d5faf59fb github.com/chromedp/chromedp v0.11.2 @@ -36,7 +38,3 @@ require ( gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -go 1.23 - -toolchain go1.23.2 diff --git a/go.sum b/go.sum index db03788..4e406d9 100644 --- a/go.sum +++ b/go.sum @@ -111,8 +111,6 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= -golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=