bittorrent / go-btfs

BTFS - The First Scalable Decentralized Storage System - A Foundational Platform for Decentralized Applications
https://www.btfs.io
Other
240 stars 80 forks source link

Cant build image for docker - ERROR [stage-1 16/17] RUN mkdir -p /data/btfs && adduser -D -h /data/btfs -u 1000 -G users btfs && chown btfs #470

Closed dipol0 closed 1 week ago

dipol0 commented 2 weeks ago

Previously i use Ubuntu 22.04 + docker and normally build images go-btfs for docker. After update 22.04 to 24.04 i ant build image for doker. I not profi. May be need some packages or wrong version.... what ??

RUN: _docker buildx build -t btfs_docker ._

and get it:

=> ERROR [stage-1 16/17] RUN mkdir -p /data/btfs   && adduser -D -h /data/btfs -u 1000 -G users btfs   && chown btfs:  0.2s

 > [stage-1 16/17] RUN mkdir -p /data/btfs   && adduser -D -h /data/btfs -u 1000 -G users btfs   && chown btfs:users /data/btfs:
0.191 /bin/sh: /lib/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /lib/libm.so.6)

Dockerfile:95

  94 |     ENV BTFS_PATH /data/btfs
  95 | >>> RUN mkdir -p $BTFS_PATH \
  96 | >>>   && adduser -D -h $BTFS_PATH -u 1000 -G users btfs \
  97 | >>>   && chown btfs:users $BTFS_PATH
  98 |

ERROR: failed to solve: process "/bin/sh -c mkdir -p $BTFS_PATH   && adduser -D -h $BTFS_PATH -u 1000 -G users btfs   && chown btfs:users $BTFS_PATH" did not complete successfully: exit code: 1
yu-btc commented 2 weeks ago

Please pull the latest v3.1.0 master branch again, we have updated it. Thank you for your feedback.