Closed Bug 1819191 Opened 3 years ago Closed 2 years ago

use tini in tecken image

Categories

(Tecken :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

In the local dev environment, running CTRL-C to stop the containers takes 10s for the following services:

  • oidcprovider
  • web
  • frontend

It's taking 10s because the process isn't listening to the interrupt, so docker stop eventually has to kill the process.

This covers using tini which will listen for the interrupt and stop the process correctly.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
No longer depends on: 1819181
Summary: use tini in socorro_app image → use tini in tecken image

willkg merged PR #2690: "bug 1819191: use tini for services" in 1ab05b6.

This updates web and oidcprovider, but not frontend. The frontend service uses node-14.17.6-slim which is based on stretch and doesn't have tini available. We'll have to wait to fix that until we update node. Cry.

I deployed the tini changes for oidcprovider and the webapp today in bug #1819718.

Keeping this open until we do the frontend.

I mistakenly switched the frontend to tini in bug #1738758. That went out with bug #1825022 on March 28th. Marking this as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: