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

build image in websoft9 when docker-compose.yml has build logic #541

Open
2 tasks
qiaofeng1227 opened this issue Oct 26, 2024 · 0 comments
Open
2 tasks
Assignees
Labels
high relatively high priority PRD S-research Stage label, on reseaching

Comments

@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented Oct 26, 2024

websoft9 cannot build image when compose has image and build,it will pull image from docker-hub:

services:
  php:
    container_name: ${W9_ID}
    image: $W9_REPO:$W9_VERSION
    build:
      context: .
      dockerfile: DOCKERFILE
      args:
         PHP_VERSION: $W9_VERSION
    restart: unless-stopped
    env_file: .env

Make it build image:

  • install app
  • recreate app
@qiaofeng1227 qiaofeng1227 changed the title when docker compose up, docker-compose.yml should be build image always build image in websoft9 when docker-compose.yml has build logic Oct 27, 2024
@qiaofeng1227 qiaofeng1227 transferred this issue from Websoft9/docker-library Oct 27, 2024
@qiaofeng1227 qiaofeng1227 added the high relatively high priority label Oct 28, 2024
@qiaofeng1227 qiaofeng1227 added the S-research Stage label, on reseaching label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high relatively high priority PRD S-research Stage label, on reseaching
Projects
None yet
Development

No branches or pull requests

3 participants