Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Dockerfile
node_modules
**/node_modules
docs/old
dist
target
Expand Down
8 changes: 7 additions & 1 deletion apps/wallet/src/configs/init.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ const appInitConfig: AppInitConfig = {
isProduction: !!import.meta.env.PROD,
apiGatewayUrl: new URL(import.meta.env.PROD ? 'https://icp-api.io' : 'http://localhost:4943'),
httpGatewayUrl: getHttpGatewayUrl(import.meta.env.PROD),
derivationOrigin: import.meta.env.PROD ? 'https://orbitwallet.io' : undefined,
// Only the production build mode derives the identity from the legacy domain; other
// IC-hosted build modes (e.g. playground, testing) authenticate against their own origin,
// which is not listed in the production domain's ii-alternative-origins.
derivationOrigin:
import.meta.env.PROD && import.meta.env.APP_BUILD_MODE === 'production'
? 'https://orbitwallet.io'
: undefined,
marketingSiteUrl: import.meta.env.APP_MARKETING_SITE_URL,
locale: {
default: defaultLocale,
Expand Down
7 changes: 4 additions & 3 deletions canister_ids.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"app_marketing": {
"production": "kguhj-fyaaa-aaaaa-qad6a-cai"
},
"app_wallet": {
"playground": "bxkhk-6yaaa-aaaal-ai6va-cai",
"production": "5fu67-giaaa-aaaal-ajbla-cai",
Expand All @@ -9,10 +12,8 @@
"production": "5mxvd-qaaaa-aaaal-ajbkq-cai",
"testing": "lotbt-qqaaa-aaaal-aduzq-cai"
},
"app_marketing": {
"production": "kguhj-fyaaa-aaaaa-qad6a-cai"
},
"docs_portal": {
"playground": "d537j-aaaaa-aaaal-asz5q-cai",
"production": "bp6mw-eqaaa-aaaac-ahroq-cai"
},
"wasm_chunk_store": {
Expand Down
5 changes: 3 additions & 2 deletions scripts/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ function deterministic_build() {
local project_name=$1
local target=$2

# Build the canister
docker build --build-arg BUILD_MODE=$BUILD_MODE -t orbit-$project_name --target $target . --platform=linux/amd64
# Build the canister. Provenance attestations are disabled so the output is a single
# manifest that `docker create` can resolve on non-amd64 hosts (e.g. Apple Silicon).
docker build --build-arg BUILD_MODE=$BUILD_MODE -t orbit-$project_name --target $target . --platform=linux/amd64 --provenance=false

# Create a container to extract the generated artifacts
docker create --name orbit-$project_name-container orbit-$project_name
Expand Down
Loading