Commit f55385f8 authored by nimrod's avatar nimrod
Browse files

Some updates.

- Update base image to Debian Bullseye.
- Use full names for images.
- Use go install instead of go get (it's being deprecated).
parent 74df0740
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
FROM golang:1.17-bullseye as golang
RUN go get github.com/spelufo/on-change && \
    go get github.com/sugyan/ttyrec2gif
FROM docker.io/golang:1.17-bullseye as golang
RUN go install github.com/spelufo/on-change@latest && \
    go install github.com/sugyan/ttyrec2gif@latest

FROM debian:buster-slim
FROM docker.io/debian:bullseye-slim
COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/
# hadolint ignore=DL3008
RUN apt-get update && \