Commit 69ba5370 authored by ale's avatar ale
Browse files

Add go.mod for building smtpd.go

parent 0614198c
Pipeline #16347 passed with stages
in 58 seconds
# Stage 1: build the tiny smtp server
FROM golang:latest AS build
FROM golang:1.16 AS build
WORKDIR /go/src
RUN go get -d
COPY go.mod .
COPY go.sum .
COPY smtpd.go .
RUN go build -o smtpd smtpd.go
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment