━ pricing plans

Basic Plan

$
3.99
$
0
/ 1 week

Full member access:

  • Access to all free content across categories.
  • Monthly newsletter with highlights and trending topics.
  • Ad-supported experience for uninterrupted browsing.
  • No subscription commitment – pay as you go.

Premium Plan

$
5.99
$
0
/ 2 weeks

Full member access:

  • Ad-free experience for seamless browsing.
  • Access to exclusive, subscriber-only content.
  • Early access to select articles and features.
  • Monthly insights into top trends in Beauty, Fashion, Tech, and Travel.
  • Priority customer support for any queries or feedback.

VIP Plan

$
7.99
$
0
/ 1 month

Full member access:

  • All benefits of the Premium Plan.
  • Personalized content recommendations tailored to your preferences.
  • VIP-only access to special events, webinars, or live Q&A sessions with industry experts.
  • Direct interaction with editors for suggestions and feedback.
  • Exclusive discounts on merchandise, travel guides, and more.
Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

reteps/dockerfmt: Dockerfile format and parser. a modern dockfmt.

Date:

Share:

Dockerfile format and parser, and a modern version of dockfmt. Built on top of the internal buildkit parser.

Binaries are available from the releases page.

A updated version of the dockfmt. Uses the dockerfile parser from moby/buildkit and the shell formatter from mvdan/sh.

Usage:
  dockerfmt [Dockerfile] [flags]
  dockerfmt [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  version     Print the version number of dockerfmt

Flags:
  -c, --check         Check if the file(s) are formatted
  -h, --help          help for dockerfmt
  -i, --indent uint   Number of spaces to use for indentation (default 4)
  -n, --newline       End the file with a trailing newline
  -w, --write         Write the formatted output back to the file(s)

Use "dockerfmt [command] --help" for more information about a command.
  • The RUN parser currently doesn’t support grouping or semicolons in commands
  • No line wrapping is performed for long JSON commands
  • The # escape=X directive is not supported

Contributions are welcome!

RUN <"hello"
echo "world"
EOF
  • Support for basic inline comments in run steps:
RUN echo "hello" \
    # this is a comment
    && echo "world"
RUN echo "hello" \
    # this is a comment
    # that spans multiple lines
    && echo "world"

This is surprisingly non-trivial as we want to attach the comments to their position in the formatted output, but they are stripped by the parser beforehand.

The JS bindings are available in the js directory. More information on how to use them can be found in the README file.

Source link

Subscribe to our magazine

━ more like this

Robin Williams’ Six Best Performances, According to Robin Williams

Robin Williams is best known for his film comedies, such as Mrs. Doubtfire and Aladdin, but when asked about his own prized performances, Williams leaned toward...

True blue: why the chore jacket just won’t quit | Fashion

Look around you and before too long you are likely to spot a chore jacket. I saw a particularly fine example on a dad...

NARS Hot Escape Summer 2025

NARS launched their Hot Escape Collection for summer and it’s a beautiful one! I’ve been testing everything over the past month and finally have...