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

Rebuild & push images #558

Closed
rcdailey opened this issue Nov 29, 2018 · 4 comments
Closed

Rebuild & push images #558

rcdailey opened this issue Nov 29, 2018 · 4 comments

Comments

@rcdailey
Copy link
Contributor

An issue related to running as an arbitrary user was fixed recently in the php:7.2-apache-stretch image (See docker-library/php#755 and docker-library/php#745).

I verified the following configuration works:

version: '3.7'

services:
  app:
    image: php:7.2-apache-stretch
    user: $UID:$GID
    network_mode: bridge
    sysctls:
      - net.ipv4.ip_unprivileged_port_start=0
    ports:
      - 50080:80
    volumes:
      - ./app:/var/www/html
      - ./data:/data
      - /etc/localtime:/etc/localtime:ro
    environment:
      - APACHE_RUN_USER=#$UID
      - APACHE_RUN_GROUP=#$GID

However, nextcloud:apache will not benefit from these changes unless you rebuild & publish again, I believe. Have you automated your deployment process so this will get handled eventually? Or must this be manually done?

@tilosp
Copy link
Member

tilosp commented Nov 29, 2018

It's fully automated, after the php image is build it will trigger a rebuild of all child images including nextcloud.

@tilosp tilosp closed this as completed Nov 29, 2018
@rcdailey
Copy link
Contributor Author

rcdailey commented Nov 29, 2018 via email

@rcdailey
Copy link
Contributor Author

@tilosp Could I please get your help identifying why the images do not seem to be updated? If it's automated, is this a timing issue? Should I check in a day? Can we reopen this issue until I'm able to verify the upstream changes are included?

@rcdailey
Copy link
Contributor Author

Sorry, replied too soon: Pulled again, tested, and everything is working great 👍

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