Skip to content

Commit

Permalink
nice bug in docker: moby/moby#34129 :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Seemann committed Aug 8, 2020
1 parent 5d6b3af commit 12b9ba7
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
steps:
- checkout
- run: echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
- run: cd master && docker build . -t seemann/master:<<pipeline.parameters.branch>> --build-arg BASE_TAG=<<pipeline.parameters.branch>> --build-arg BRANCH=<<pipeline.parameters.branch>>
- run: cd master && docker build . -t seemann/master:<<pipeline.parameters.branch>> --build-arg BASE_TAG=<<pipeline.parameters.branch>>
- run: docker push seemann/master:<<pipeline.parameters.branch>>

workflows:
Expand Down
4 changes: 2 additions & 2 deletions crypto/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/cyng:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/crypto
Expand Down
6 changes: 3 additions & 3 deletions cyng/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/cpp-build-base:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/cyng && cd cyng

WORKDIR /src/cyng

RUN git checkout '${BRANCH}'
RUN git checkout ${BRANCH}

RUN git submodule update --init --recursive

Expand Down
2 changes: 0 additions & 2 deletions master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/node:${BASE_TAG} AS build

FROM ubuntu:bionic
Expand Down
4 changes: 2 additions & 2 deletions node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/crypto:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/node && cd node
Expand Down
4 changes: 2 additions & 2 deletions oecp-crypto/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/oecp-cyng:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/crypto
Expand Down
6 changes: 3 additions & 3 deletions oecp-cyng/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/oecp-base:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/cyng

WORKDIR /src/cyng

RUN git checkout '${BRANCH}'
RUN git checkout ${BRANCH}

RUN git submodule update --init --recursive

Expand Down
4 changes: 2 additions & 2 deletions oecp-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG BASE_TAG
ARG BRANCH

FROM seemann/oecp-crypto:${BASE_TAG} AS build

ARG BRANCH

WORKDIR /src

RUN git clone https://github.com/solosTec/node
Expand Down

0 comments on commit 12b9ba7

Please sign in to comment.