File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ WORKDIR /opt/poky
1919ARG YOCTO_VERSION=kirkstone
2020RUN git checkout -t origin/${YOCTO_VERSION} -b ${YOCTO_VERSION} && git pull
2121
22- RUN git clone --single-branch --branch=master https://github.com/wolfssl/meta-wolfssl.git && \
22+ # This arg is to be able to force a rebuild starting from this line
23+ ARG DUMMY=date
24+ RUN DUMMY=${DUMMY} git clone --single-branch --branch=master https://github.com/wolfssl/meta-wolfssl.git && \
2325 /bin/bash -c "source oe-init-build-env" && \
2426 echo 'IMAGE_INSTALL:append = " wolfssl wolfclu wolfssh wolfmqtt wolftpm wolfclu "' >> /opt/poky/build/conf/local.conf && \
2527 sed -i '/\/ opt\/ poky\/ meta-poky \\ /a \\ t/opt/poky/meta-wolfssl \\ ' /opt/poky/build/conf/bblayers.conf
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ NUM_FAILURES=0
1313CUR_DATE=$( date -u +%F)
1414for ver in kirkstone dunfell; do
1515 echo " Building wolfssl/yocto:${ver} -${CUR_DATE} as ${DOCKER_BUILD_OPTIONS} "
16- docker build -t wolfssl/yocto:${ver} -${CUR_DATE} --build-arg YOCTO_VERSION=${ver} -f Dockerfile " ${WOLFSSL_DIR} /Docker/yocto" && \
16+ docker build -t wolfssl/yocto:${ver} -${CUR_DATE} --build-arg YOCTO_VERSION=${ver} --build-arg BUILD_DATE= ${CUR_DATE} - f Dockerfile " ${WOLFSSL_DIR} /Docker/yocto" && \
1717 docker tag wolfssl/yocto:${ver} -${CUR_DATE} wolfssl/yocto:${ver} -latest
1818 if [ $? -eq 0 ]; then
1919 echo " Pushing containers to DockerHub"
You can’t perform that action at this time.
0 commit comments