Skip to content

Commit

Permalink
fix: update dockerfile t owork with latest version of docker (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: blabbe <boris.labbe@b-com.com>
  • Loading branch information
blabdouze and blabbe authored Nov 1, 2023
1 parent 2edf7f2 commit 8b1355e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:stretch AS hapttic

FROM golang:bullseye AS hapttic
ENV GO111MODULE=auto
RUN git clone https://github.com/jsoendermann/hapttic.git && \
cd hapttic/ && \
go build -o hapttic .

FROM debian:stretch-slim AS docker-tc
FROM debian:bullseye-slim AS docker-tc

COPY --from=hapttic /go/hapttic/hapttic /usr/bin/hapttic
RUN hapttic -version && \
Expand All @@ -26,14 +26,14 @@ RUN curl -sSfL https://github.com/just-containers/s6-overlay/releases/download/v
ln -sf /docker-tc/etc/cont-finish.d /etc

ARG DOCKER_VERSION=""
RUN ( curl -fsSL get.docker.com | VERSION=${DOCKER_VERSION} CHANNEL=edge sh ) && \
RUN ( curl -fsSL get.docker.com | VERSION=${DOCKER_VERSION} CHANNEL=stable sh ) && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean

ENTRYPOINT ["/init"]
EXPOSE 80/tcp
VOLUME ["/var/docker-tc"]
ARG VERSION=dev
ARG VERSION=2023-dev
ARG VCS_REF
ARG BUILD_DATE
ENV DOCKER_TC_VERSION="${VERSION:-dev}" \
Expand Down

0 comments on commit 8b1355e

Please sign in to comment.