Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from hellofresh/patch/dockerfile
Browse files Browse the repository at this point in the history
Switch Dockerfile base to ubuntu
  • Loading branch information
Anton Ustyuzhanin authored Jul 1, 2019
2 parents 524fe63 + df6b30e commit c4bf39f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ WORKDIR /go/src/github.com/hellofresh/rds_exporter
COPY . ./
RUN make

FROM alpine:3.9
FROM ubuntu:bionic

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
ca-certificates==20190108-r0 \
py-boto3==1.9.75-r2 \
py-yaml==4.1-r0
RUN apt-get update -y \
&& apt-get install -y \
ca-certificates \
python3-boto3 \
python3-yaml \
&& rm -rf /var/cache/apt/*

COPY --from=builder /go/src/github.com/hellofresh/rds_exporter/rds_exporter /
COPY entry.py /
COPY entry.py /

EXPOSE 9042
ENTRYPOINT ["/usr/bin/python3", "/entry.py"]

0 comments on commit c4bf39f

Please sign in to comment.