[BUG] bundle.tgz becomes corrupted while using docker
See original GitHub issueDescribe the bug Bundling or adding bundle file to Dockerfile
To Reproduce
# First stage
FROM node:14.15.1-alpine as bundler
WORKDIR usr/src/app
ADD . .
RUN yarn install
RUN yarn workspace @services/service bundle
WORKDIR services/service
RUN yarn bundle
RUN apk update
RUN apk add tar
RUN ls -la ./
RUN tar xvf bundle.tgz
Step 9/14 : RUN tar xvf bundle.tgz —> Running in 93349fea266e gzip: invalid magic tar: Child returned status 1 tar: Error is not recoverable: exiting now The command ‘/bin/sh -c tar xvf bundle.tgz’ returned a non-zero code: 2
Expected behavior Extract files
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS
- yarn 2.4.0
- yarn.build latest
Additional context Able to extract it in terminal. Either mounted or bundled, bundle.tgz is corrupted.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Bug listing with status RESOLVED with resolution FIXED as at ...
Bug listing with status RESOLVED with resolution FIXED as at 2022/12/24 19:46:07 ... Bug:39 - "default.tar.bz2 in mplayer gets wrong digest all the...
Read more >docker backup sometimes is corrupt and cannot be restored
This is a known issue. You cannot backup Fuel (and its nailgun DB), make changes, and then restore. Nailgun's DB cannot compensate for...
Read more >Error processing tar file(exit status 1): unexpected EOF
I had this issue when my build directory contained several gigabytes core dump file. I've tried removing docker directory with no luck, but...
Read more >Cluster Administration OpenShift Container Platform 3.11
Enable Images to Run with USER in the Dockerfile · 15.8.4. ... If an etcd host has become corrupted and the /etc/etcd/etcd.conf file...
Read more >Common errors | npm Docs
Broken npm installation · Random errors · No compatible version found · Permissions errors · Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Working.
I’ve just released v0.9.53, which has a fix to output
bundle.zipinstead of.tgz.Can you confirm if latest is now working correctly?