question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backend Dockerfile using Alpine

See original GitHub issue
backstage-image

We’re using Backstage in an enterprise environment where Twistlock is used to assess the security of containers. Official Node.js Docker images are notorious for reporting many security vulnerabilities. For this reason, our organization uses Alpine as a base for the majority of containers which have much fewer vulnerability reports in the base operating system.

Scaffolder uses Alpine already, but the base container created with @backstage/create-app is using Ubuntu Buster.

Feature Suggestion

Either provide an alternative to Ubuntu that uses Alpine or replace Ubuntu with Alpine base image.

Possible Implementation

I tried to do this myself several times but I kept getting segfault errors. I believe the Backstage core team is aware of this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
tarascommented, Feb 4, 2021

@Rugvip informed me that some native dependencies changed in a recent version of Backstage. I’m going to try upgrading to the latest version and report back.

0reactions
stale[bot]commented, Apr 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use the Alpine Docker Official Image
You'll have to first pull the Alpine Docker Official Image before using it for your project. The fastest method involves running docker pull ......
Read more >
Use Docker and Alpine Linux to build lightweight containers
A lightweight OS can save IT teams resources and cut costs. In this Docker and Alpine Linux tutorial, learn how to create a...
Read more >
Creating an Alpine Docker Container - GeeksforGeeks
Step 1: Pull and Run the Alpine Image ... To run the Alpine Image Docker Container, you can use the Docker run command....
Read more >
Add a User in Alpine Docker Image | Baeldung on Linux
Here, we create the user account baeldung with the adduser command. Moreover, by using the -D option, the user is created without a...
Read more >
21 Best Practises in 2021 for Dockerfile | by Chris Ed Rego
An alternative to the above solution in the case of alpine is to use –no-cache which ensures that no cache is stored for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found