Skip to content

Commit

Permalink
pkg/files/docker: update build and app images
Browse files Browse the repository at this point in the history
Change-Id: Ie66f103569c06832d06202c67ee50cb1273b96b2
  • Loading branch information
dlamarmorgan committed Sep 12, 2024
1 parent 550b134 commit 20617ef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.last
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20231025-2
20240911-1
5 changes: 3 additions & 2 deletions pkg/files/docker/build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
FROM --platform=$TARGETPLATFORM ubuntu:22.04 as base
ARG TARGETPLATFORM
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install curl && curl -sfL https://deb.nodesource.com/setup_16.x | bash -
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install curl && curl -sfL https://deb.nodesource.com/setup_22.x | bash -
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install git sudo nodejs make gcc brotli g++
RUN echo ${TARGETPLATFORM} | sed 's/linux\///' | xargs -I PLATFORM curl --fail -L https://go.dev/dl/go1.20.10.linux-PLATFORM.tar.gz | tar -C /usr/local -xz && cp /usr/local/go/bin/go /usr/local/bin/go
RUN echo ${TARGETPLATFORM} | sed 's/linux\///' | xargs -I PLATFORM curl --fail -L https://go.dev/dl/go1.22.7.linux-PLATFORM.tar.gz | tar -C /usr/local -xz && cp /usr/local/go/bin/go /usr/local/bin/go
ENV GOROOT=/usr/local/go

RUN useradd storj --uid 1000 -d /var/lib/storj && \
mkdir -p /var/lib/storj/shared && \
Expand Down
2 changes: 1 addition & 1 deletion pkg/files/docker/edge.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3
ARG TYPE
ARG SOURCE
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20231025-2 AS base
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20240911-1 AS base

FROM base AS commit
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion pkg/files/docker/storj.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3
ARG TYPE
ARG SOURCE
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20231025-2 AS base
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20240911-1 AS base

ARG SKIP_FRONTEND_BUILD

Expand Down
2 changes: 1 addition & 1 deletion pkg/files/docker/storjscan.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3
ARG TYPE
ARG SOURCE
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20231025-2 AS base
FROM --platform=$TARGETPLATFORM img.dev.storj.io/storjup/build:20240911-1 AS base

FROM base AS commit
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion pkg/recipe/db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: db
description: Cockroach and redis required by other services.
add:
- name: cockroach
image: cockroachdb/cockroach
image: cockroachdb/cockroach:v24.2.1
port:
- name: cockroach
description: Cockroach Postgres-compatible SQL port
Expand Down

0 comments on commit 20617ef

Please sign in to comment.