Update dockerfiles
This commit is contained in:
parent
5d36d0ecf9
commit
3b1bed8517
|
@ -1,3 +1,4 @@
|
|||
honk.db*
|
||||
blob.db*
|
||||
./honk
|
||||
.git*
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
FROM golang:1.16
|
||||
FROM golang:1.19
|
||||
|
||||
RUN apt update && apt install -y libsqlite3-dev && rm -rf /var/cache/apt/*
|
||||
|
||||
RUN mkdir /honk-src
|
||||
COPY *.go docs/ toys/ vendor/ views/ /honk-src/
|
||||
|
||||
WORKDIR /honk-src
|
||||
|
||||
COPY go.mod go.sum /honk-src/
|
||||
COPY . /honk-src/
|
||||
RUN go get && go mod vendor
|
||||
|
||||
|
||||
RUN make
|
||||
RUN mv ./honk /bin/honk
|
||||
|
||||
|
|
Loading…
Reference in New Issue