Skip to content

Commit

Permalink
Merge pull request #1 from sbellem/docker-python-version
Browse files Browse the repository at this point in the history
Use python:3.8-buster as base image
  • Loading branch information
lilione authored Oct 11, 2021
2 parents 09ebef6 + e411cb4 commit c95c248
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY src /go/src/github.com/initc3/HoneyBadgerSwap/src


# MPC program compilation to bytecodes
FROM python:3.8 as mpc-bytecodes
FROM python:3.8-buster as mpc-bytecodes

ENV PYTHONUNBUFFERED 1

Expand All @@ -36,7 +36,7 @@ RUN bash compile.sh


# main image
FROM python:3.8
FROM python:3.8-buster

ENV PYTHONUNBUFFERED 1

Expand Down Expand Up @@ -129,4 +129,4 @@ RUN make geth
RUN pip3 install web3

RUN mkdir -p /opt/hbswap/db
RUN mkdir -p /usr/src/hbswap/Persistence
RUN mkdir -p /usr/src/hbswap/Persistence
4 changes: 2 additions & 2 deletions docker/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8 as base-mp-spdz
FROM python:3.8-buster as base-mp-spdz

ENV PYTHONUNBUFFERED 1

Expand Down Expand Up @@ -82,7 +82,7 @@ RUN make malicious-shamir-party.x
########################## end of mp-spdz builds #######################################

#FROM base-mp-spdz as hbswap
FROM python:3.8 as hbswap
FROM python:3.8-buster as hbswap

ENV PYTHONUNBUFFERED 1

Expand Down
4 changes: 2 additions & 2 deletions docker/mpspdzbuilds.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8 as compiler
FROM python:3.8-buster as compiler

ENV PYTHONUNBUFFERED 1

Expand All @@ -9,7 +9,7 @@ COPY MP-SPDZ/Compiler Compiler
RUN mkdir -p Programs/Source
###############################################################################

FROM python:3.8 as machines
FROM python:3.8-buster as machines

ENV PYTHONUNBUFFERED 1

Expand Down

0 comments on commit c95c248

Please sign in to comment.