Archived
1
0

Rename container and release-container to images and release-image

This commit is contained in:
Anmol Sethi
2020-06-03 12:07:42 -04:00
parent 11d7932968
commit bdb670e852
14 changed files with 41 additions and 21 deletions

View File

@ -0,0 +1,22 @@
FROM centos:7
RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash - && \
yum install -y nodejs &&
npm install -g yarn
RUN yum groupinstall -y 'Development Tools'
RUN yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
RUN npm config set python python2
RUN yum install -y epel-release && yum install -y jq
RUN yum install -y rsync
# Copied from ../Dockerfile
# Install Go dependencies
RUN ARCH="$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')" && \
curl -fsSL "https://dl.google.com/go/go1.14.3.linux-$ARCH.tar.gz" | tar -C /usr/local -xz
ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
ENV GO111MODULE=on
RUN go get mvdan.cc/sh/v3/cmd/shfmt
RUN go get github.com/goreleaser/nfpm/cmd/nfpm