refactor: use std ubuntu as docker collator base image
-FROM phusion/baseimage:jammy-1.0.0
+FROM ubuntu:22.04
+LABEL org.opencontainers.image.source https://github.com/t3rn/t3rn
-ARG RELAYCHAIN_NAME=rococo
-ARG PARACHAIN_NAME=t0rn
+ENV RELAYCHAIN_NAME=rococo
+ENV PARACHAIN_NAME=t0rn
RUN useradd -m -u 1000 -U -s /bin/sh -d /node runner && \
mkdir /node/data && \
@@ -12,8 +13,8 @@ COPY --chown=runner target/release/circuit-collator /usr/local/bin/circuit-colla
COPY --chown=runner specs/$RELAYCHAIN_NAME.raw.json /node/specs/$RELAYCHAIN_NAME.raw.json
COPY --chown=runner specs/$PARACHAIN_NAME.raw.json /node/specs/$PARACHAIN_NAME.raw.json
-VOLUME /node/data
-
USER runner
+VOLUME /node/data
+EXPOSE 33333 1833 1933 7003
ENTRYPOINT ["/usr/local/bin/circuit-collator"]
\ No newline at end of file
