Dockerfile.test: skip curl, gcc, git and make install

These are already installed by default in the golang image.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-07-17 14:06:11 +02:00
parent 546538971c
commit 25fada0cc7
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -32,7 +32,6 @@ RUN ./install-protobuf
# Install runc
FROM golang-base AS runc
RUN apt-get update && apt-get install -y \
curl \
libseccomp-dev \
--no-install-recommends
@ -46,10 +45,7 @@ FROM golang-base AS dev
RUN apt-get update && apt-get install -y \
libbtrfs-dev \
btrfs-progs \
gcc \
git \
libseccomp-dev \
make \
xfsprogs \
--no-install-recommends