Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Allows you to create docker image #122

Closed
wants to merge 4 commits into from

Conversation

pollosp
Copy link

@pollosp pollosp commented Feb 7, 2019

Hello,
I have added this in order to use aws-okta from a docker image, I think it is useful specially with windows users.

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Dockerfile Outdated
WORKDIR /app/
RUN apt-get update && apt-get -y install libusb-1.0-0 ca-certificates python-pip && pip install awscli
COPY --from=builder /go/src/github.com/segmentio/aws-okta/dist/aws-okta-*-linux-amd64 /app/aws-okta
COPY --from=builder /etc/passwd /etc/passwd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this to avoid the useradd? I'd prefer the useradd TBH

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I usually use this way with alpine images, maybe I could move to alpine to make this image lighter or just avoid this and use useradd I will check it later.

Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@nickatsegment nickatsegment mentioned this pull request Mar 7, 2019
@nickatsegment
Copy link
Contributor

@pollosp Thanks again. We had a Segmenter add #130, and I hadn't had the chance to circle back to this PR since you added fixes. I'm going to merge #130 for no other reason than we control it. Thanks for your PR though, and sorry I didn't get to it sooner.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants