This commit is contained in:
Pascal Vizeli 2017-03-14 23:55:38 +01:00
parent 483e62a583
commit f5675c6b04
4 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
RUN apt-get update && apt-get install -y docker-ce && rm -rf /var/lib/apt/lists/*
COPY run-resinos.sh /
COPY run-supervisor-base.sh /
COPY src/run-resinos.sh /
COPY src/run-supervisor-base.sh /
WORKDIR /yocto/image

View File

@ -19,7 +19,7 @@ fi
docker build --pull --tag ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION} -f ${SCRIPTPATH}/Dockerfile ${SCRIPTPATH}
# Tag
docker tag -f ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION} ${DOCKER_REPO}/${DOCKER_IMAGE}:latest
docker tag ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION} ${DOCKER_REPO}/${DOCKER_IMAGE}:latest
# Push
docker push ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION}