Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get the aio image building #7

Merged
merged 1 commit into from
Aug 28, 2024
Merged
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
6 changes: 3 additions & 3 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
env:
APP_NAME: ${BUILDKITE_PIPELINE_SLUG}
IMAGE_REPO: ghcr.io/theopenlane/${APP_NAME}
GCR_REPO: us-west1-docker.pkg.dev/neural-vista-433523-c1/openlane/openlane
IMAGE_TAG: ${BUILDKITE_BUILD_NUMBER}-${BUILDKITE_COMMIT:0:8}
SONAR_HOST: "https://sonarcloud.io"

Expand Down Expand Up @@ -234,7 +235,7 @@ steps:
- docker-login#v3.0.0:
username: _json_key_base64
password-env: SECRET_GCR_PUBLISH_TOKEN
server: us-central1-docker.pkg.dev
server: us-west1-docker.pkg.dev
- theopenlane/docker-metadata#v1.0.0:
tag_prefix: "aio-"
debug: true
Expand All @@ -257,7 +258,6 @@ steps:
if: build.tag != null
commands: |
#!/bin/bash
ls
plugins:
- docker-login#v3.0.0:
username: openlane-bender
Expand Down Expand Up @@ -287,7 +287,7 @@ steps:
- docker-login#v3.0.0:
username: _json_key_base64
password-env: SECRET_GCR_PUBLISH_TOKEN
server: us-central1-docker.pkg.dev
server: us-west1-docker.pkg.dev
- theopenlane/docker-metadata#v1.0.0:
tag_prefix: "aio-"
debug: true
Expand Down
8 changes: 4 additions & 4 deletions docker/all-in-one/Dockerfile.all-in-one
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.6 as builder
FROM golang:1.23.0 as builder

WORKDIR /go/src/app
COPY . .
Expand All @@ -14,8 +14,8 @@ WORKDIR /home/nonroot
# Copy the binary that goreleaser built
COPY --from=builder /go/bin/core /bin/core

# Copy the geodetic binary
COPY --from=ghcr.io/theopenlane/geodetic:620-516e3250 /bin/geodetic /bin/geodetic
# Copy the dbx binary
COPY --from=ghcr.io/theopenlane/dbx:5-35840501 /bin/dbx /bin/dbx

# Copy redis binary
COPY --from=redis:7.4.0 /usr/local/bin/redis-server /bin/redis-server
Expand Down Expand Up @@ -43,7 +43,7 @@ EXPOSE 8080
EXPOSE 8081
EXPOSE 2112

#Expose geodetic ports
#Expose dbx ports
EXPOSE 1337

# Expose redis ports
Expand Down
4 changes: 2 additions & 2 deletions docker/all-in-one/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ done

/bin/redis-server --save 20 1 --loglevel warning --daemonize yes

# run the geodetic service in the background
/bin/geodetic serve --debug --pretty &!
# run the dbx service in the background
/bin/dbx serve --debug --pretty &!

# run the core service in the foreground
/bin/core serve --debug --pretty
Loading