Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed Jul 12, 2024
1 parent 95e04df commit e492213
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions locust-distributed/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,16 @@
FROM python:3.6-alpine
FROM locustio/locust:2.23.1

ENV LOCUST_VERSION $LOCUST_VERSION
LABEL org.opencontainers.image.source=https://github.com/base2Services/build-containers

RUN apk --no-cache add \
--virtual=.build-dep \
build-base \
linux-headers \
zeromq-dev \
libffi-dev \
&& apk --no-cache add \
libzmq \
&& pip install --no-cache-dir \
locust \
awscli \
pyzmq \
&& apk del .build-dep \
&& mkdir /locust

COPY docker-entrypoint.sh /
USER root
RUN pip install awscli faker

WORKDIR /locust

EXPOSE 8089 5557 5558

ENTRYPOINT ["/docker-entrypoint.sh"]
ENTRYPOINT [ "/entrypoint" ]

CMD [ "locust" ]

CMD ["locust"]
COPY docker-entrypoint.sh /entrypoint

0 comments on commit e492213

Please sign in to comment.