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

bake in v.0.8.0 does not support compose services with dots #1009

Closed
cinder-fish opened this issue Mar 17, 2022 · 1 comment · Fixed by #1011
Closed

bake in v.0.8.0 does not support compose services with dots #1009

cinder-fish opened this issue Mar 17, 2022 · 1 comment · Fixed by #1011
Labels
area/bake/compose kind/bug Something isn't working

Comments

@cinder-fish
Copy link

E.g.

docker-compose.yml

version: '3.4'

services:
  app2.4:
    image: test:latest
    build: .

Output:

$ docker buildx bake
[+] Building 0.0s (0/0)                                                                                                                                                                                                                                                          
error: invalid service name "app2.4": only "[a-zA-Z0-9_-]+" are allowed

Version:

$ docker buildx version
github.com/docker/buildx v0.8.0 c8f7c1e93ffa9cfcf926cd3e6450af957f235b07

docker compose build will still build this service. as will bake from github.com/docker/buildx v0.7.1 05846896d149da05f3d6fd1e7770da187b52a247.

Mainly looking for advice, is this change intentional? Will it eventually apply to compose too?

@cinder-fish cinder-fish changed the title bake v.0.8.0 does not support compose services with dots bake in v.0.8.0 does not support compose services with dots Mar 17, 2022
@crazy-max
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bake/compose kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants