Skip to content

Commit dd78808

Browse files
Merge pull request bryanyang0528#47 from bryanyang0528/updated_dev_env
change to edge for latest librbkafka
2 parents 14fb4bb + dead2c3 commit dd78808

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ FROM frolvlad/alpine-python3
22

33
WORKDIR /app
44
COPY . /app
5-
RUN apk add --no-cache alpine-sdk python3-dev librdkafka librdkafka-dev
5+
RUN sed -i -e 's/v3\.8/edge/g' /etc/apk/repositories \
6+
&& apk upgrade --update-cache --available \
7+
&& apk add --no-cache librdkafka librdkafka-dev
8+
RUN apk add --no-cache alpine-sdk python3-dev
69
RUN pip install -r requirements.txt
710
RUN pip install -r test-requirements.txt
8-
RUN pip install -e .
11+
RUN pip install -e .

0 commit comments

Comments
 (0)