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

eb creates environments with an old Docker platform #502

Open
gabmontes opened this issue Oct 26, 2023 · 0 comments
Open

eb creates environments with an old Docker platform #502

gabmontes opened this issue Oct 26, 2023 · 0 comments

Comments

@gabmontes
Copy link

Description

When using the EB CLI 3.20.9 and 3.20.10 to create a new application/environment with "docker" as platform, the environment is created with the "Docker running on 64bit Amazon Linux 2/3.0.1" platform instead of the latest one (3.6.3 at the time of writing this). This creates a potential security threat as the old platforms have vulnerable components like NGINX 1.16.

Weirdly enough, old versions of EB CLI like 3.20.0 create the environment using the "Docker running on 64bit Amazon Linux 2/3.4.3" platform version, which is not the oldest, not the newer either.

Steps to reproduce

Provide steps to replicate. This should include: exact ebcli commands, any relevant configuration files(sanitized), platform version, region, as well as any additional information you think is relevant.

eb init my-app --platform docker --region us-east-2
eb create my-app-environment

Observed result

Creating application version archive "app-231026_174139157835".
Uploading my-app/app-231026_174139157835.zip to S3. This may take a while.
Upload Complete.
Environment details for: my-app-environment
  Application name: my-app
  Region: us-east-2
  Deployed Version: app-231026_174139157835
  Environment ID: e-cumwpsbm2c
  Platform: arn:aws:elasticbeanstalk:us-east-2::platform/Docker running on 64bit Amazon Linux 2/3.0.1
  Tier: WebServer-Standard-1.0
  CNAME: UNKNOWN
  Updated: 2023-10-26 21:41:42.265000+00:00
Alert: The platform version that your environment is using isn't recommended. There's a recommended version in the same platform branch.

Printing Status:
2023-10-26 21:41:41    INFO    createEnvironment is starting.
...

Expected result

The environment platform is the latest one, not the old "Docker running on 64bit Amazon Linux 2/3.0.1" one.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: macOS
  2. EBCLI version: EB CLI 3.20.10 (Python 3.11.6 (main, Oct 2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)])
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

1 participant