File tree Expand file tree Collapse file tree 1 file changed +6
-34
lines changed
Expand file tree Collapse file tree 1 file changed +6
-34
lines changed Original file line number Diff line number Diff line change 1- FROM fedora
2-
3- RUN dnf -y install \
4- make \
5- golang \
6- bats \
7- btrfs-progs-devel \
8- device-mapper-devel \
9- glib2-devel \
10- gpgme-devel \
11- libassuan-devel \
12- libseccomp-devel \
13- git \
14- bzip2 \
15- go-md2man \
16- runc \
17- containers-common \
18- skopeo-containers
19-
20- # Workaround - the first install somehow leaves the golang in a bad state
21- RUN dnf -y install golang
22-
23- RUN mkdir /root/buildah && \
24- cd /root/buildah && \
25- git clone https://github.com/harness/buildah.git ./src/github.com/containers/buildah
26-
27- RUN cd /root/buildah/src/github.com/containers/buildah && make && sudo make install
28-
29-
30-
31- FROM quay.io/buildah/stable:v1.23.0
1+ FROM quay.io/buildah/stable:v1.36.0
322
3+ # Set up the working directory
334USER build
345WORKDIR /home/build
356RUN export STORAGE_DRIVER=vfs
36- # Add plugin binary
7+
8+ # Add the plugin binary
379ADD release/linux/amd64/drone-docker /bin/
38- COPY --from=0 /root/buildah/src/github.com/containers/buildah/bin/. /bin/
3910
40- ENTRYPOINT ["/bin/drone-docker"]
11+ # Set the entrypoint to the plugin binary
12+ ENTRYPOINT ["/bin/drone-docker"]
You can’t perform that action at this time.
0 commit comments