Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Python version reverted #338

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test with version numbers
ozayr-zaviar committed May 13, 2022
commit ccb02f9a67e5d2b89a2e4b856711327e1e48555b
4 changes: 2 additions & 2 deletions scripts/dockerfiles/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ ARG GO_VERSION
FROM golang:$GO_VERSION-alpine3.10 as builder
# hadolint ignore=DL3018
RUN addgroup -S agentgroup && adduser -S agentuser -G agentgroup
RUN apk add --no-cache make gcc libc-dev git curl
RUN apk add --no-cache make=4.2.1-r2 gcc=8.3.0-r0 libc-dev=0.7.1-r0 git=2.22.5-r0 curl=7.66.0-r4
WORKDIR /go/src/github.com/optimizely/agent
COPY . .
RUN make setup build

FROM alpine:3.10
RUN apk add --no-cache ca-certificates
RUN apk add --no-cache cca-certificates=20191127-r2
COPY --from=builder /go/src/github.com/optimizely/agent/bin/optimizely /optimizely
COPY --from=builder /etc/passwd /etc/passwd
USER agentuser