Skip to content

Commit

Permalink
Dockerfile modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya-563 committed Sep 20, 2023
1 parent 65a4928 commit 9817e32
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ COPY build.sh /usr/local/bin
#RUN cat /usr/local/bin/build.sh
#ENTRYPOINT ["./build.sh"]
WORKDIR ./../
RUN git clone https://github.com/WebPlatformForEmbedded/buildroot.git
RUN git checkout Divya-test
RUN ls
RUN make raspberrypi3_wpe_ml_defconfig
#RUN make
RUN make
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

apt-get install -y build-essential git subversion cvs unzip whois ncurses-dev bc mercurial pmount gcc-multilib g++-multilib libgmp3-dev libmpc-dev liblz4-tool

make raspberrypi3_wpe_defconfig && make
~
31 changes: 7 additions & 24 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ resources:
password: ((github-enterprise.access-token))

- name: buildroot-docker-image
type: registry-image
icon: docker
type: docker-image
check_every: 72h
source:
repository: atlas.comcast.net/tpx-metrological-embedded
Expand All @@ -19,28 +18,12 @@ resources:

jobs:

- name: Divya-Buildroot-build
jobs:
- name: build-rootfs
plan:
- get: buildroot
- task: prepare-and-build
privileged: true
config:
platform: linux
image_resource:
type: docker-image
source:
repository: vito/oci-build-task
inputs:
- name: buildroot
outputs:
- name: image
params:
CONTEXT: buildroot
dockerfile: ./buildroot/Dockerfile
run: # binary used to build the image
path: build
# path: /bin/sh
# args: ["./buildroot/build.sh"]
- put: buildroot-docker-image
params: {image: image/image.tar}

params: {build: buildroot}
get_params: {rootfs: true}
- put: buildroot-docker-image
params: {file: buildroot-docker-image/rootfs.tar}

0 comments on commit 9817e32

Please sign in to comment.