зеркало из https://github.com/Azure/iotedgedev.git
Merge -dev with -deps docker
This commit is contained in:
Родитель
2ed378d9e5
Коммит
4e524fd2d6
|
@ -18,4 +18,8 @@ RUN apt-get update && \
|
|||
az extension add --name azure-cli-iot-ext && \
|
||||
npm i -g iothub-explorer && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev
|
||||
COPY install-dev.sh /scripts/install-dev.sh
|
||||
RUN chmod +x /scripts/install-dev.sh
|
||||
ENV DEBIAN_FRONTEND teletype
|
|
@ -1,6 +0,0 @@
|
|||
FROM jongallant/iotedgedev:${VERSION}-linux
|
||||
RUN apt-get update && apt-get install -y python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip
|
||||
COPY install-dev.sh /scripts/install-dev.sh
|
||||
RUN chmod +x /scripts/install-dev.sh
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
FROM jongallant/iotedgedev:0.62.0-linux
|
||||
RUN apt-get update && apt-get install -y python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip
|
||||
COPY install-dev.sh /scripts/install-dev.sh
|
||||
RUN chmod +x /scripts/install-dev.sh
|
||||
|
||||
|
|
@ -2,5 +2,3 @@ export VERSION=$1
|
|||
docker build --no-cache -f Dockerfile.deps -t jongallant/iotedgedev-deps:$1 -t jongallant/iotedgedev-deps:$1-linux -t jongallant/iotedgedev-deps:latest -t jongallant/iotedgedev-deps:latest-linux .
|
||||
cat Dockerfile | envsubst > Dockerfile.expanded
|
||||
docker build --no-cache -f Dockerfile.expanded -t jongallant/iotedgedev:$1 -t jongallant/iotedgedev:$1-linux -t jongallant/iotedgedev:latest -t jongallant/iotedgedev:latest-linux .
|
||||
cat Dockerfile.dev | envsubst > Dockerfile.dev.expanded
|
||||
docker build --no-cache -f Dockerfile.dev.expanded -t jongallant/iotedgedev-dev:$1 -t jongallant/iotedgedev-dev:$1-linux -t jongallant/iotedgedev-dev:latest -t jongallant/iotedgedev-dev:latest-linux .
|
|
@ -2,5 +2,3 @@ export VERSION=$1
|
|||
docker build -f Dockerfile.deps -t jongallant/iotedgedev-deps:$1 -t jongallant/iotedgedev-deps:$1-linux -t jongallant/iotedgedev-deps:latest -t jongallant/iotedgedev-deps:latest-linux .
|
||||
cat Dockerfile | envsubst > Dockerfile.expanded
|
||||
docker build -f Dockerfile.expanded -t jongallant/iotedgedev:$1 -t jongallant/iotedgedev:$1-linux -t jongallant/iotedgedev:latest -t jongallant/iotedgedev:latest-linux .
|
||||
cat Dockerfile.dev | envsubst > Dockerfile.dev.expanded
|
||||
docker build -f Dockerfile.dev.expanded -t jongallant/iotedgedev-dev:$1 -t jongallant/iotedgedev-dev:$1-linux -t jongallant/iotedgedev-dev:latest -t jongallant/iotedgedev-dev:latest-linux .
|
|
@ -4,10 +4,6 @@ docker push jongallant/iotedgedev-deps:$1
|
|||
docker push jongallant/iotedgedev-deps:$1-linux
|
||||
docker push jongallant/iotedgedev-deps:latest
|
||||
docker push jongallant/iotedgedev-deps:latest-linux
|
||||
docker push jongallant/iotedgedev-dev:$1
|
||||
docker push jongallant/iotedgedev-dev:$1-linux
|
||||
docker push jongallant/iotedgedev-dev:latest
|
||||
docker push jongallant/iotedgedev-dev:latest-linux
|
||||
docker push jongallant/iotedgedev:$1
|
||||
docker push jongallant/iotedgedev:$1-linux
|
||||
docker push jongallant/iotedgedev:latest
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v c:/temp/iotedge:/iotedge jongallant/iotedgedev-dev:$1-linux
|
Загрузка…
Ссылка в новой задаче