Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85949506
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
963 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/ci/Dockerfile b/ci/Dockerfile
index 5929f832d..d39fd8d7b 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -1,7 +1,8 @@
FROM elixir:1.10.4
+# Single RUN statement, otherwise intermediate images are created
+# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
RUN apt-get update &&\
- apt-get install -y libmagic-dev cmake libimage-exiftool-perl ffmpeg &&\
+ apt-get install -y libmagic-dev cmake libimage-exiftool-perl ffmpeg &&\
mix local.hex --force &&\
mix local.rebar --force
-
diff --git a/ci/README b/ci/README
new file mode 100644
index 000000000..3785adef1
--- /dev/null
+++ b/ci/README
@@ -0,0 +1,12 @@
+## Dependencies
+
+Assuming an AMD64 Alpine system, you're going to need the following packages
+- `qemu qemu-openrc qemu-arm qemu-aarch64` for binfmt
+- `docker-cli-buildx` for building the images
+
+## Setting up
+
+```
+docker login git.pleroma.social:5050
+doas rc-service qemu-binfmt start
+```
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 18, 2:36 AM (22 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1840010
Default Alt Text
(963 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline