You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM golang:1.8-alpine as builder
RUN apk --update add git;
RUN go get -d github.com/optiopay/klar
RUN go build ./src/github.com/optiopay/klar
FROM python:alpine
RUN apk -uv add --no-cache groff jq less ca-certificates && \
pip install --no-cache-dir awscli
COPY --from=builder /go/klar /klar
RUN aws ecr get-authorization-token --region us-east-1 && \
eval $(aws ecr get-login --no-include-email --region us-east-1)
When I run the command line below:
docker run --env-file=klar.env ############.dkr.ecr.us-east-1.amazonaws.com/klar:latest ${REGISTRY}/nifi:latest
I get the following errors:
My klar Dockerfile is defined as follow:
My klar.env is defined as follow:
And the docker-compose.yml to run Clair/Postgres is defined as follow:
NOTE:
1. If I docker pull the image I would like to scan, it works
docker pull ############.dkr.ecr.us-east-1.amazonaws.com/nifi
2.To test all, I'm running everything in the same AWS EC2.
I wonder if it is an issue with Klar and or Clair/Postgres?
I would be grateful if someone could help me.
Thank you!
The text was updated successfully, but these errors were encountered: