Skip to content

Commit

Permalink
Traefik 3.1.2 and Mailpit 1.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Aug 8, 2024
1 parent b5bbebc commit 0968eb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
ARG TRAEFIK_VERSION
ARG MAILPIT_VERSION=1.17.1
ARG MAILPIT_VERSION=1.20.0

#
# Mailpit binary
#
FROM golang:alpine as mailpit-builder
FROM golang:alpine AS mailpit-builder

ARG MAILPIT_VERSION
WORKDIR /app
Expand All @@ -19,10 +18,9 @@ RUN CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/axllent/mailpit/config.
#
# Stonehenge
#
FROM traefik:${TRAEFIK_VERSION} as stonehenge
FROM traefik:3.1.2 AS stonehenge

ARG MAILPIT_VERSION
ARG TRAEFIK_VERSION
ARG TARGETARCH
ARG USER=druid
ARG UID=1000
Expand All @@ -32,7 +30,6 @@ ENV SOCKET_DIR=/tmp/${USER}_ssh-agent
ENV SSH_AUTH_SOCK=${SOCKET_DIR}/socket
ENV SSH_AUTH_PROXY_SOCK=${SOCKET_DIR}/proxy-socket
ENV MAILPIT_VERSION=${MAILPIT_VERSION}
ENV TRAEFIK_VERSION=${TRAEFIK_VERSION}

RUN wget -O /usr/local/bin/mkcert "https://dl.filippo.io/mkcert/latest?for=linux/${TARGETARCH}"

Expand Down
7 changes: 0 additions & 7 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ variable "REPO_NAME" {
default = "druidfi/stonehenge"
}

variable "TRAEFIK_VERSION" {
default = "3.0.2"
}

group "default" {
targets = ["traefik"]
}
Expand All @@ -28,8 +24,5 @@ target "common" {
target "traefik" {
inherits = ["common"]
context = "."
args = {
TRAEFIK_VERSION = "${TRAEFIK_VERSION}"
}
tags = ["${REPO_NAME}:5", "${REPO_NAME}:5.0", "${REPO_NAME}:latest"]
}

0 comments on commit 0968eb8

Please sign in to comment.