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

Feat/dockerslim #1145

Open
wants to merge 74 commits into
base: feat/gunicorn
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
8490085
creating a branch to test new dockerslim GH action on multi-stage doc…
EliseCastle23 May 1, 2024
ce88b17
dummy commit
EliseCastle23 May 1, 2024
b39c1f6
dummy commit
EliseCastle23 May 1, 2024
03b30a2
adding another binary
EliseCastle23 May 1, 2024
a4acf8c
adding another file to preserve
EliseCastle23 May 1, 2024
1b87288
adding to include-files
EliseCastle23 May 1, 2024
4c6b1f3
adding another path to preserve
EliseCastle23 May 1, 2024
790165c
adding more files to preserve
EliseCastle23 May 1, 2024
90cac5f
adding more files to include
EliseCastle23 May 1, 2024
22f5b97
adding more preserve files
EliseCastle23 May 1, 2024
46f1645
testing without trailing slash
EliseCastle23 May 1, 2024
1dee53c
more preserve files
EliseCastle23 May 1, 2024
c78aa3b
testing adding files to include
EliseCastle23 May 1, 2024
ad2bb2e
adding full paths for binaries
EliseCastle23 May 1, 2024
f7cef6c
dummy commit
EliseCastle23 May 1, 2024
8806925
dummy commit
EliseCastle23 May 1, 2024
46ca79c
test
EliseCastle23 May 1, 2024
41e90bb
adding different files to "preserve-files" and "include-binaries"
EliseCastle23 May 2, 2024
785b24f
adding another directory
EliseCastle23 May 2, 2024
3b9444d
adding "/usr/share/locale"
EliseCastle23 May 2, 2024
c71efa4
adding another file
EliseCastle23 May 2, 2024
41c4d12
adding more files
EliseCastle23 May 2, 2024
4ac5267
trying "*" for file path
EliseCastle23 May 2, 2024
233e097
trying one more method
EliseCastle23 May 2, 2024
ee681ab
preserving lib as a whole
EliseCastle23 May 2, 2024
267be9c
changing path again
EliseCastle23 May 2, 2024
93334ba
adding a file
EliseCastle23 May 2, 2024
5273e57
test
EliseCastle23 May 2, 2024
52e946f
test
EliseCastle23 May 2, 2024
b482a1b
test
EliseCastle23 May 2, 2024
f5a077a
dummy commit
EliseCastle23 May 2, 2024
6d8e3bf
revert
EliseCastle23 May 2, 2024
58a718a
test
EliseCastle23 May 2, 2024
823a0ae
adding it back
EliseCastle23 May 2, 2024
055a961
test
EliseCastle23 May 2, 2024
4173e36
adding ls
EliseCastle23 May 2, 2024
e46d988
adding pwd
EliseCastle23 May 2, 2024
109e2f6
adding /var/www/fence
EliseCastle23 May 2, 2024
0dc0d73
adding back tar
EliseCastle23 May 2, 2024
aa15d78
adding xz
EliseCastle23 May 2, 2024
9d29ed7
test
EliseCastle23 May 2, 2024
147b493
test
EliseCastle23 May 2, 2024
315e761
Image is working- now testing removing files to make it more slim
EliseCastle23 May 2, 2024
6063010
trying without /usr/bin
EliseCastle23 May 2, 2024
b80ac17
adding new include files
EliseCastle23 May 2, 2024
7e01617
test
EliseCastle23 May 2, 2024
f34c656
test
EliseCastle23 May 2, 2024
36bc7ec
adding x86_64
EliseCastle23 May 2, 2024
5cca701
testing executables
EliseCastle23 May 2, 2024
4e35aad
test
EliseCastle23 May 2, 2024
ccac944
adding ls
EliseCastle23 May 2, 2024
2708eb4
test
EliseCastle23 May 2, 2024
db82f3b
test
EliseCastle23 May 2, 2024
cb0370c
test
EliseCastle23 May 2, 2024
beb4467
test
EliseCastle23 May 2, 2024
9720544
dummy commit
EliseCastle23 May 3, 2024
536d67c
removing a preserve file for testing
EliseCastle23 May 3, 2024
a2eacf0
removing some preserve files for testing
EliseCastle23 May 3, 2024
4d9af4c
getting rid of usr/share from preserve files
EliseCastle23 May 3, 2024
fb45a9c
removing more preserve files
EliseCastle23 May 3, 2024
b1315ea
removing more files to slim it furhter
EliseCastle23 May 3, 2024
a7f0f79
attempting to slim image further
EliseCastle23 May 3, 2024
d7befa9
adding back "/usr/lib64"
EliseCastle23 May 3, 2024
3a0d4c6
test removing "/fence"
EliseCastle23 May 3, 2024
736b940
test removing "/venv/lib/python3.9" from preserve fiels
EliseCastle23 May 3, 2024
107b5d7
adding python3.9 back
EliseCastle23 May 3, 2024
6691c8f
cleaning up PR
EliseCastle23 May 3, 2024
7bd119a
one last test
EliseCastle23 May 3, 2024
79a5704
cleanup
EliseCastle23 May 3, 2024
5da644c
dummy commit
EliseCastle23 May 3, 2024
5007604
revert
EliseCastle23 May 3, 2024
bbc61a1
dummy commit
EliseCastle23 May 3, 2024
843c903
revert
EliseCastle23 May 3, 2024
9f257d6
adding back "overview"
EliseCastle23 May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/buildpipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Build Image and Push
# TODO Add this line back once we update to Python 3.9 from 3.6
# needs: Security
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
uses: uc-cdis/.github/.github/workflows/image_build_push_slim.yaml@feat/GPE-1121
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/preserve-files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/usr/lib64
/fence
/venv/lib/python3.9
/var/www/fence/
/usr/bin
Loading