Skip to content

Commit

Permalink
use base image golang for build
Browse files Browse the repository at this point in the history
  • Loading branch information
myback authored and Alexey Shulutkov committed Aug 31, 2020
1 parent c4998eb commit 3bb23e3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
FROM ubuntu:20.04
FROM golang:1.14-buster

RUN apt-get update && apt-get install -y \
golang \
libbtrfs-dev \
git-core \
libdevmapper-dev \
libgpgme11-dev \
go-md2man \
libglib2.0-dev
RUN apt-get update && \
apt-get install -y \
libdevmapper-dev \
libgpgme11-dev

ENV GOPATH=/
WORKDIR /src/github.com/containers/skopeo

0 comments on commit 3bb23e3

Please sign in to comment.