gliderlabs / gliderlabs/docker-alpine

arm64v8/alpine dockerfile RUN addgroup failed

Open
#538 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

dockerfile with arm64v8 arch
```
FROM arm64v8/alpine
RUN addgroup -S simon
```
failed! error mesage:
```
standard_init_linux.go:190: exec user process caused "exec format error"
The command '/bin/sh -c addgroup -S simon' returned a non-zero code: 1
```

But if I run command in arm64v8 container
```
docker exec -it arm64v8/alpine:latest /bin/sh
/ # addgroup -S simon
/ # cat /etc/group |grep simon
simon:x:101:
```
And also if I use x86 64 as base image, everything is ok
```
FROM alpine
RUN addgroup -S simon
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.