File: Dockerfile

package info (click to toggle)
go-mmproxy 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: makefile: 12; sh: 7
file content (6 lines) | stat: -rw-r--r-- 227 bytes parent folder | download
1
2
3
4
5
6
FROM golang:1.21 AS builder
RUN apt-get update && apt-get install -y iptables iproute2 && apt-get clean
WORKDIR /app/src/go-mmproxy
COPY . .
RUN CGO_ENABLED=0 go build -v
ENTRYPOINT ["sh", "-x", "docker-example/entrypoint.sh"]