Skip to content

Commit 576fa63

Browse files
authored
Merge pull request #11 from drone-plugins/CI-13848
CI-13848 - Fix "`GLIBC_2.34' not found" in buildah-docker
2 parents 018dd9e + 0043db9 commit 576fa63

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed
Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,12 @@
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
334
USER build
345
WORKDIR /home/build
356
RUN export STORAGE_DRIVER=vfs
36-
# Add plugin binary
7+
8+
# Add the plugin binary
379
ADD 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"]

0 commit comments

Comments
 (0)