FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
https-proxy/Makefile at main · reload/https-proxy · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
reload
/
https-proxy
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
https-proxy
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (13 loc) · 783 Bytes
Breadcrumbs
https-proxy
/
Makefile
Copy path
File metadata and controls
19 lines (13 loc) · 783 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PLATFORM
=
$(
shell
docker version --format '{{.Server.Os}}/{{.Server.Arch}}')
DERIVATIVES
=
$(
shell
ls context)
.DEFAULT_GOAL
:= all
.PHONY
: all clean help test
$(
DERIVATIVES
)
$(
TEST
)
all
:
$(
DERIVATIVES
)
#
# Build Docker images for all derivatives
help
:
#
# Display a list of the public targets
@grep -E -h
"
^[a-z]+:.*##
"
$(
MAKEFILE_LIST
)
|
sed -e
'
s/\(.*\):.*## *\(.*\)/\1|\2/
'
|
column -s
'
|
'
-t
_derivates
:
#
# Output derivatives as JSON list
@echo
$(
DERIVATIVES
)
|
jq --compact-output --raw-input
'
split(" ") | map(select(. != ""))
'
$(
DERIVATIVES
)
:
#
# Build Docker image for derivative
docker buildx build --target
$@
--platform=
$(
PLATFORM
)
--file Dockerfile --tag ghcr.io/reload/https-proxy:
$@
--load context
test
: base
GOSS_SLEEP=5 dgoss run ghcr.io/reload/https-proxy:base
Back
|
FazBrowse Home
|
New Git URL