Skip to content
Snippets Groups Projects
Commit c1493c30 authored by micah's avatar micah :speech_balloon:
Browse files

Remove packages from first stage that are needed only in the second one

parent 1ba08b93
Branches
Tags
No related merge requests found
FROM debian:buster AS build FROM debian:buster AS build
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential pkg-config golang-go git ca-certificates openvpn netcat-openbsd iptables\ build-essential pkg-config golang-go git ca-certificates \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# don't need to do bash tricks to keep the layers small, as this is a multi-stage build # don't need to do bash tricks to keep the layers small, as this is a multi-stage build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment