Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Read Environment Host Config [ARM] #2926

Closed
ramosisw opened this issue Oct 9, 2019 · 4 comments
Closed

Can't Read Environment Host Config [ARM] #2926

ramosisw opened this issue Oct 9, 2019 · 4 comments

Comments

@ramosisw
Copy link

ramosisw commented Oct 9, 2019

My Dockerfile

FROM alpine:3.9

RUN \
    apk add --no-cache ca-certificates && \
    apk add --no-cache --virtual .build-deps curl && \
    ARCH=$(uname -m) && if [ "$ARCH" = "x86_64" ] ; then ARCH="amd64" ; else ARCH="arm" ; fi && \
    curl https://dl.min.io/client/mc/release/linux-$ARCH/mc > /usr/bin/mc && \
    chmod +x /usr/bin/mc && apk del .build-deps
ENV MC_HOST_mcplay ${MC_HOST_mcplay}

ENTRYPOINT ["mc"]

Expected behavior

docker run --rm -e "MC_HOST_mcplay=https://Q3AM3UQ867SPQQA43P2F:zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG@play.minio.io:9000" ramosisw/mc:arm -- ls mcplay
[2019-10-09 17:00:56 UTC]      0B 000aaaomzz/
[2019-10-09 11:27:06 UTC]      0B 000aab/
[2019-10-09 13:16:33 UTC]      0B 000helloworld/
[2019-10-08 01:33:12 UTC]      0B 07jhq6e438s94yunjteky36dl8udhgac/
[2019-10-09 01:43:34 UTC]      0B 0w9hbzeyhz0f00ae3arwi0j2i35s3ldd/
[2019-10-04 12:31:34 UTC]      0B 110trpartnerconfig/
# ...

Actual behavior

docker run --rm -e "MC_HOST_mcplay=https://Q3AM3UQ867SPQQA43P2F:zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG@play.minio.io:9000" ramosisw/mc:arm -- ls mcplay
mc: <ERROR> Unable to stat `mcplay`. Requested file `mcplay` not found

Steps to reproduce the behavior

On AMD64 works but not on ARM

To reproduce only runs next command on arm arch (like Raspberry Pi with docker)

docker run --rm -e "MC_HOST_mcplay=https://Q3AM3UQ867SPQQA43P2F:zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG@play.minio.io:9000" ramosisw/mc:arm -- ls mcplay

mc version

  • Version: 2017-06-15T03:38:43Z

System information

Raspberry Pi 3 B+

@harshavardhana
Copy link
Member

This seems to be working fine

MC_HOST_mcplay=https://Q3AM3UQ867SPQQA43P2F:zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG@play.minio.io:9000"
  • Version: 2017-06-15T03:38:43Z

this is a very old release please upgrade. In this release, the ENV was MC_HOSTS_mcplay notice an additional S

@ramosisw
Copy link
Author

ramosisw commented Oct 9, 2019

This seems to be working fine

MC_HOST_mcplay=https://Q3AM3UQ867SPQQA43P2F:zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG@play.minio.io:9000"
  • Version: 2017-06-15T03:38:43Z

this is a very old release please upgrade. In this release, the ENV was MC_HOSTS_mcplay notice an additional S

The ARM architecture is unmaintained?

@harshavardhana
Copy link
Member

@ramosisw you should build your own for ARM with the latest release - we don't ship released binaries for ARM

@kannappanr
Copy link
Collaborator

@ramosisw Closing this issue as answered. Please feel free to reach out to us at https://slack.min.io for further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants