Debug Alpine
This commit is contained in:
parent
c60d139dbf
commit
976d0fcb6d
2 changed files with 3 additions and 0 deletions
|
|
@ -62,6 +62,7 @@
|
||||||
(let [base-cmd ["docker" "buildx" "build"
|
(let [base-cmd ["docker" "buildx" "build"
|
||||||
"-t" (str image-name ":" image-tag)
|
"-t" (str image-name ":" image-tag)
|
||||||
"--platform" platform
|
"--platform" platform
|
||||||
|
"--progress" "plain"
|
||||||
"--push"
|
"--push"
|
||||||
"-f" docker-file]]
|
"-f" docker-file]]
|
||||||
(exec (concat base-cmd label-args ["."]))))
|
(exec (concat base-cmd label-args ["."]))))
|
||||||
|
|
@ -75,6 +76,7 @@
|
||||||
(let [base-cmd ["docker" "buildx" "build"
|
(let [base-cmd ["docker" "buildx" "build"
|
||||||
"-t" (str ghcr-image-name ":" image-tag)
|
"-t" (str ghcr-image-name ":" image-tag)
|
||||||
"--platform" platform
|
"--platform" platform
|
||||||
|
"--progress" "plain"
|
||||||
"--push"
|
"--push"
|
||||||
"-f" docker-file]]
|
"-f" docker-file]]
|
||||||
(exec (concat base-cmd label-args ["."]))))
|
(exec (concat base-cmd label-args ["."]))))
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ RUN echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswit
|
||||||
# TODO: Run actual native tests when they are ported
|
# TODO: Run actual native tests when they are ported
|
||||||
|
|
||||||
RUN bb -e '(prn (java.io.File/createTempFile "babashka.curl" ".headers"))'
|
RUN bb -e '(prn (java.io.File/createTempFile "babashka.curl" ".headers"))'
|
||||||
|
RUN bb -e '(spit (java.io.File/createTempFile "babashka.curl" ".headers") "hello")'
|
||||||
RUN bb -e "(curl/get \"https://clojure.org\")" # cURL http test
|
RUN bb -e "(curl/get \"https://clojure.org\")" # cURL http test
|
||||||
RUN bb -e "(require '[org.httpkit.client :as http]) (when-let [error (:error @(http/get \"https://clojure.org\"))] (throw error))" # JVM http test
|
RUN bb -e "(require '[org.httpkit.client :as http]) (when-let [error (:error @(http/get \"https://clojure.org\"))] (throw error))" # JVM http test
|
||||||
RUN bb -e "(.length \"Hello, Babashka\")" # Java interop test
|
RUN bb -e "(.length \"Hello, Babashka\")" # Java interop test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue