mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 04:21:15 +00:00
20 lines
429 B
Docker
20 lines
429 B
Docker
FROM golang:1.17-alpine3.14
|
|
|
|
# Install node, zip, git and make
|
|
RUN apk add --no-cache gcc libc-dev npm nodejs-current zip git openssh make
|
|
|
|
# Install aws cli
|
|
RUN apk add --no-cache \
|
|
python3 \
|
|
py3-pip \
|
|
&& pip3 install --upgrade pip \
|
|
&& pip3 install --no-cache-dir \
|
|
awscli \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
# Install sp cli
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN go build .
|
|
RUN cp sp-cli /usr/local/bin/sp
|