Alex Pyrgiotis
d768099912
Grab just the image ID
...
When building the image, grab the image id using `-q`, which removes all
the decorations in the output and just keeps the image ID.
2023-03-09 19:04:59 +02:00
Alex Pyrgiotis
a33dcfbb51
Replace First Look Media references
...
Update several references to First Look Media in the code, to better
reflect the current status, where Freedom of the Press Foundation has
taken over the stewardship of the project.
Fixes #343
2023-03-08 18:40:55 +02:00
Alex Pyrgiotis
4668443be6
install: Use the full image tag
...
Use the full image tag (dangerzone.rocks/dangerzone:latest) when
building the image. Else, we risk creating a `share/image-id.txt` file
with multiple IDs in it, if we have another
`dangerzone.rocks/dangerzone` image (with a different tag) in our dev
environment.
2023-03-08 17:40:26 +02:00
deeplow
fb85421db8
Fix Windows build for PySide6 (illegal file names)
...
Building the `.msi` on Windows was failing in the `candle.exe` step due
to some files in the PySide6 library being too long (PySide6/examples)
or having illegal character (`+`) in their file names
(PySide6/qml/QtQuick).
Skipping copying these files to the `.msi` fixes the issue. Skipping
`examples/` should be of no impact since they're just examples and
skipping `qml/QtQuick` shouldn't cause issues because we don't use QML.
Reverts commit `bbbf822` and adapts it from PySide2 to PySide6.
2023-02-23 09:12:02 +00:00
deeplow
9b3d98b20b
Build arm64 docker image for arm-based Macs
...
Remove --patform args completely so that by default we build natively
on each platform.
Partial fix for #50
2023-02-16 10:59:00 +00:00
Maeve Andrews
c26326450b
Add a --distro option to build-deb.py
...
Add an optional --distro argument to build-deb.py, to specify the Debian
version in the package name, which currently is "1". This option may
prove useful when publishing packages to freedomofpress/apt-tools-prod,
where packages from different distros with the same names but different
contents are not accepted.
2023-02-14 15:49:51 +02:00
deeplow
bbbf8224f1
install: Remove PySide2-related code for Windows
2023-01-30 11:42:24 +00:00
Alex Pyrgiotis
4eead90c00
install: Fail early when image build fails
2023-01-16 18:48:09 +02:00
Alex Pyrgiotis
624d480cca
install: Do not create intermediate tarfile for container
...
Skip the creation of the `share/container.tar` file, since it's not used
anywhere. Instead, pipe our `docker/podman save` invocations to `gzip`
directly, which will compress the tarfile on the fly. This saves both
time and disk space.
2023-01-16 18:48:08 +02:00
Alex Pyrgiotis
a0503c8c40
install: Do not create Debian source package twice
2023-01-16 18:48:08 +02:00
deeplow
5761255b56
Fix Python version in Windows build scripts
...
Windows python build scripts were still referencing the old python 3.9
version, whereas 3.10 is the currently used one in the dev environment.
2022-12-01 14:58:29 +00:00
Alex Pyrgiotis
1daaafe2a3
install: Introduce a script for installing Podman
...
Introduce a script for installing Podman in Ubuntu Focal, in
environments that may, or may not, have sudo installed.
Also, update our CircleCI configuration to use this script when
installing Podman.
2022-11-10 16:35:48 +02:00
Micah Lee
383bd5dbed
Enforce code style
2022-08-26 14:12:01 -07:00
Micah Lee
6713cce503
Updates to the macOS and Windows build scripts and documentation
2022-08-26 14:06:06 -07:00
deeplow
4d8e4c53e3
sort imports with isort linter
2022-08-22 10:15:26 +01:00
Guthrie McAfee Armstrong
395eba0a74
Remove requests dependency
2022-08-19 15:16:14 +01:00
Micah Lee
0cf514eba7
Fix version path
2021-12-13 15:32:35 -08:00
Micah Lee
a710178d75
Add package scripts for windows
2021-12-13 15:25:41 -08:00
Micah Lee
bc8b9d62b4
Switch Windows package from pyinstaller to cx_freeze
2021-12-13 15:23:45 -08:00
Micah Lee
42f8fb9e2f
Rename the container in CircleCI
2021-11-29 16:04:20 -08:00
Micah Lee
433639d51f
Explicitly build linux/amd64 container
2021-11-29 15:51:18 -08:00
Micah Lee
2de2b6dca5
Rename dangerzone-converter to container
2021-11-29 15:30:21 -08:00
Micah Lee
387a742487
Delete the .tar after compressing in Windows, and fix Windows installer
2021-11-24 16:38:15 -08:00
Micah Lee
65a66b78cd
Remove indent line, this function is deprecated
2021-11-24 12:36:18 -08:00
Micah Lee
61839f5b24
Change multistep windows build into one step
2021-11-24 12:21:38 -08:00
Micah Lee
4572922042
Update Windows code signing
2021-11-24 11:42:02 -08:00
Micah Lee
edbd3aa88a
Set the path in macOS, so it can find /usr/local/bin/docker
2021-11-23 16:16:55 -08:00
Micah Lee
b3b52c3963
Rename build scripts
2021-11-23 15:47:25 -08:00
Micah Lee
7441796fbe
Support Windows
2021-11-23 15:39:23 -08:00
Micah Lee
9acfd2764e
Make the new code work in linux
2021-11-22 18:51:47 -05:00
Micah Lee
a54e19fe11
Get WaitingWidget to properly check for and install the image
2021-11-22 14:37:53 -08:00
Micah Lee
83759d1a33
Delete vm-builder folder, and make build-image.sh build the dangerzone image
2021-11-22 14:23:17 -08:00
Micah Lee
8248d58f21
Copy vpnkit from Docker Desktop instead of compiling on M1 Macs
2021-11-18 16:25:12 -08:00
Micah Lee
f1cbbdf43c
Start to support building for M1 chips, using Docker Desktop instead of vagrant
2021-11-18 15:53:00 -08:00
Micah Lee
47d6eb0d8b
Build vpnkit and hyperkit from source, remove Docker Desktop dependency to build, and add --allow-vm-login flag
2021-11-18 11:47:51 -08:00
Micah Lee
fd1dec7438
Move vm-builder up a dir, and start replacing Docker Desktop with building hyperkit and vpnkit manually
2021-11-17 13:41:45 -08:00
Micah Lee
27a7f86641
Change how the VM initializes, to work in virtualbox
2021-08-17 13:44:52 -07:00
Micah Lee
1432ca75fc
Base the VM image off Alpine 3.14.1, update the alpine profile to be based off virt instead of standard
2021-08-13 15:02:23 -07:00
Micah Lee
46681bc771
Start making Windows VM work with virtualbox
2021-08-09 14:05:07 -07:00
Micah Lee
173f31ff41
Start porting VM to Windows
2021-08-09 12:04:17 -07:00
Micah Lee
4a4deeb64f
Add support for non-VM containers again
2021-08-04 15:02:49 -07:00
Micah Lee
588206a9e8
Start implementing built-in container in Linux, without a VM
2021-08-04 14:42:46 -07:00
Micah Lee
ee5acf64b2
Make converter handle failure properly
2021-07-30 13:01:54 -07:00
Micah Lee
9fcb304545
Lockdown ssh, and also temporarily comment out deleting containers on ISO build
2021-07-27 10:54:17 -07:00
Micah Lee
2c2f87593c
Keep ssh tunnel open with autossh, and give root user ssh keys so unprivileged user cant access the host
2021-07-14 11:36:13 -07:00
Micah Lee
a7f3eb9b43
Make container mount and unmount dirs from the host
2021-07-01 17:14:48 -07:00
Micah Lee
2904d44aad
Start making it possible to execute podman inside the VM
2021-07-01 16:45:25 -07:00
Micah Lee
29a148d211
Successfully set up reverse ssh forward system, allowing the host to run commands on the guest over ssh
2021-07-01 15:32:07 -07:00
Micah Lee
1c39895206
Refactor how VM image is created to split it into different files, and write ssh-to-host.py script
2021-07-01 11:02:08 -07:00
Micah Lee
da75559e3a
Start working on ssh reverse tunnel stuff
2021-06-30 16:21:40 -07:00