Skip to content

Commit

Permalink
docker file for mosquitto_sub client
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardesd committed Nov 17, 2020
1 parent 2e557d3 commit 2043bf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions clients/alpine_container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASEIMAGE=python:3.8.5-alpine3.12
ARG BASEIMAGE=python:2.8.5-alpine3.12

FROM ${BASEIMAGE}

Expand All @@ -12,7 +12,8 @@ RUN apk add iputils \
net-tools \
iperf \
xterm \
busybox-extras
busybox-extras \
moreutils

RUN apk add bash

Expand All @@ -22,6 +23,7 @@ WORKDIR /home/ubuntu

COPY sub_thread.py /home/ubuntu/sub_thread.py
COPY pub_thread.py /home/ubuntu/pub_thread.py
COPY mosquitto_sub.py /home/ubuntu/mosquitto_sub.py

#CMD ["/usr/local/bin/python3", "-u", "container_python.py"]

Expand Down
2 changes: 1 addition & 1 deletion clients/alpine_container/build_this.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

version=$1

docker build --no-cache --tag flipperthedog/alpine_client .
docker build --no-cache --tag flipperthedog/alpine_client:$version .
docker push flipperthedog/alpine_client:$version

0 comments on commit 2043bf4

Please sign in to comment.