go-btfs icon indicating copy to clipboard operation
go-btfs copied to clipboard

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

Open dipol0 opened this issue 1 year ago • 0 comments

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

dipol0 avatar Oct 30 '24 17:10 dipol0