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

cp: omitting directory '/usr/share/zoneinfo' #2

Open
schel4ok opened this issue Dec 6, 2020 · 1 comment
Open

cp: omitting directory '/usr/share/zoneinfo' #2

schel4ok opened this issue Dec 6, 2020 · 1 comment

Comments

@schel4ok
Copy link

schel4ok commented Dec 6, 2020

на шаге сборки php всё время выбрасывает ошибку cp: omitting directory '/usr/share/zoneinfo'

а если заменить переменную текстом, то всё проходит нормально

RUN echo "UTC" && apk --update add tzdata && \
    cp /usr/share/zoneinfo/UTC /etc/localtime && \
    echo UTC > /etc/timezone && \
    apk del tzdata
@attentive20
Copy link

attentive20 commented Dec 7, 2020

Сам пользуюсь Laradock в плане docker, поэтому с такой проблемой не сталкивался. Ни разу не было проблем со сборками php любых версий. Вот тут в комментах немного затрагивается эта тема https://habr.com/ru/post/519500

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

No branches or pull requests

2 participants