Skip to content
Open
Changes from all commits
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN export GIT_COMMIT=$(git rev-list -1 HEAD) && \
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo \
-ldflags "-X main.OECCommitVersion=$GIT_COMMIT -X main.OECVersion=1.0.1" -o nocgo -o /oec .
FROM python:alpine3.12 as base
RUN pip install requests
RUN pip --no-cache-dir install requests
RUN addgroup -S opsgenie && \
adduser -S opsgenie -G opsgenie && \
apk update && \
Expand All @@ -16,4 +16,4 @@ RUN mkdir -p /var/log/opsgenie && \
chown -R opsgenie:opsgenie /var/log/opsgenie && \
chown -R opsgenie:opsgenie /opt/oec
USER opsgenie
ENTRYPOINT ["/opt/oec"]
ENTRYPOINT ["/opt/oec"]