Skip to content

Commit

Permalink
Merge pull request #21 from axhza/multiarch
Browse files Browse the repository at this point in the history
multi-arch build support
  • Loading branch information
micheloosterhof committed Dec 23, 2020
2 parents 5f6ba7a + 8ca0115 commit e262dd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# `builder` contains all necessary code to build
# `runtime` is stripped down.

FROM debian:buster-slim as builder
ARG ARCH=
FROM ${ARCH}debian:buster-slim as builder
LABEL maintainer="Michel Oosterhof <michel@oosterhof.net>"

WORKDIR /
Expand Down Expand Up @@ -54,7 +55,7 @@ RUN git clone --separate-git-dir=/tmp/cowrie.git https://github.com/cowrie/cowri
pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements.txt && \
pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements-output.txt

FROM debian:buster-slim AS runtime
FROM ${ARCH}debian:buster-slim AS runtime
LABEL maintainer="Michel Oosterhof <michel@oosterhof.net>"

ENV COWRIE_GROUP=cowrie \
Expand Down

0 comments on commit e262dd6

Please sign in to comment.