Skip to content

Commit 7cc763b

Browse files
committed
Updated docker build, and added docker-compose.yml
Signed-off-by: Andrea Barberio <[email protected]>
1 parent 8e7f4c5 commit 7cc763b

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################
22
# STEP 1 build executable binary
33
############################
4-
FROM golang:1.16-alpine AS builder
4+
FROM golang:1.23-alpine AS builder
55

66
LABEL BUILD="docker build -t insomniacslk/irc-slack -f Dockerfile ."
77
LABEL RUN="docker run --rm -p 6666:6666 -it insomniacslk/irc-slack"

docker-compose.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
services:
2+
irc-slack:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile
6+
ports:
7+
- 6666:6666

go.mod

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module github.com/insomniacslk/irc-slack
22

3+
go 1.23
4+
35
require (
46
github.com/chromedp/cdproto v0.0.0-20241022234722-4d5d5faf59fb
57
github.com/chromedp/chromedp v0.11.2
@@ -36,7 +38,3 @@ require (
3638
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
3739
gopkg.in/yaml.v3 v3.0.1 // indirect
3840
)
39-
40-
go 1.23
41-
42-
toolchain go1.23.2

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
111111
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
112112
golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
113113
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
114-
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
115-
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
116114
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
117115
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
118116
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

0 commit comments

Comments
 (0)